Hi,Guys.
GLSL link failed, no info log provided. In My MEIZU 15 Plus。
Unity Version: 2021.3.33f1
Here are the error stack traces.
GLSL link failed, no info log provided.
#0 0x737da6cc08 (libunity.so) GetStacktrace(int) 0x44
#1 0x737e332a24 (libunity.so) DebugStringToFile(DebugStringToFileData const&) 0x240
#2 0x737e186bf8 (libunity.so) ApiGLES::CheckProgram(unsigned int&, core::basic_string<char, core::StringStorageDefault > const&) 0x1d8
#3 0x737e18f928 (libunity.so) GlslGpuProgramGLES::CompileProgramImpl(unsigned int&, core::basic_string<char, core::StringStorageDefault > const&, core::basic_string<char, core::StringStorageDefault > const&, core::basic_string<char, core::StringStorageDefault > const&, core::basic_string<char, core::StringStorageDefault > const&, core::basic_string<char, core::StringStorageDefault > const&, core::basic_string<char, core::StringStorageDefault > const&, ShaderChannelMask&, int, unsigned int, int*, int*) 0xce8
#4 0x737e18e024 (libunity.so) GlslGpuProgramGLES::SwitchProgram(unsigned int) 0x4b8
#5 0x737e1
More detailed Debug stack trace.
Autoconnected Player "Autoconnected Player" -------- Shader Hidden/Universal Render Pipeline/UberPost
-------- GLSL link failed, no info log provided.
#0 0x737e1adc08 (libunity.so) GetStacktrace(int) 0x44
#1 0x737ea73a24 (libunity.so) DebugStringToFile(DebugStringToFileData const&) 0x240
#2 0x737e8c7bf8 (libunity.so) ApiGLES::CheckProgram(unsigned int&, core::basic_string<char, core::StringStorageDefault<char> > const&) 0x1d8
#3 0x737e8d0928 (libunity.so) GlslGpuProgramGLES::CompileProgramImpl(unsigned int&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, ShaderChannelMask&, int, unsigned int, int*, int*) 0xce8
#4 0x737e8ce164 (libunity.so) GlslGpuProgramGLES::Create(dynamic_array<unsigned char, 0ul> const&, core::basic_string<char, core::StringStorageDefault<char> > const&, ShaderChannelMask&) 0x108c
#5 0x737e8ccb1c (libunity.so) GlslGpuProgramGLES::GlslGpuProgramGLES(dynamic_array<unsigned char, 0ul> const&, CreateGpuProgramOutput&) 0x114
#6 0x737e898060 (libunity.so) CreateGpuProgram(ShaderGpuProgramType, dynamic_array<unsigned char, 0ul> const&, CreateGpuProgramOutput&) 0x194
#7 0x737e1925ec (libunity.so) GfxCreateGpuProgramQueue::smile:equeueAll(GfxThreadableDevice*) 0x5c
#8 0x737eaa4080 (libunity.so) GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) 0x2fd8
#9 0x737eaa93f8 (libunity.so) GfxDeviceWorker::RunExt(ThreadedStreamBuffer&) 0x54
#10 0x737eaa9398 (libunity.so) GfxDeviceWorker::Run() 0x8c
#11 0x737eaa0e90 (libunity.so) GfxDeviceWorker::RunGfxDeviceWorker(void*) 0x4
#12 0x737dfac95c (libunity.so) Thread::RunThreadWrapper(void*) 0x31c
#13 0x73aa4500e0 (libc.so) __pthread_start(void*) 0xc4
#14 0x73aa405940 (libc.so) __start_thread 0x10
Autoconnected Player "Autoconnected Player" Note: Creation of internal variant of shader 'Hidden/Universal Render Pipeline/UberPost' failed.
This means the GPU driver on the device you’re running on doesn’t provide any details into why it failed.
The filed shader is the postprocessing one - try disabling postprocessing in the project.
Thank you for your reply~
After testing, I found that ‘glsl link failed’ would occur on random shaders. The log I captured this time is from postprocessing, but it could also happen on the shaders I wrote myself.
This is a message from the GPU driver. If it happens on random shaders, there may be a problem with the device you have.