Project loading crash caused by plugin c++ shader

Hello all, when adding compute shaders in plugin, I encountered some crash at project startup, the error seems quite strange, LogModuleManager says Unable to load dll, There may be an operating system error or the module may not be properly set up.

I tried to narrow down the issue, and found it’s related with c++ shader class and IMPLEMENT_GLOBAL_SHADER pair. I have 3 pairs now, and do have DECLARE_GLOBAL_SHADER, SHADER_USE_PARAMETER_STRUCT, BEGIN_SHADER_PARAMETER_STRUCT, END_SHADER_PARAMETER_STRUCT in c++ shader class. But if I define only the first pair of shader, then no above error when loading project.

Not sure what’s missing here
Really appreciate any help

Fixed for myself, bool type in shader parameter struct would cause that error, difficult to debug though cause dll crash without any error message to dig into…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.