Open ad184hl opened 1 year ago
That usually means that the engine uses wrong version of sharers. Can you debug why exactly Graphics::GetShader fails? It really shouldn't.
I think it's related how the resource folder is specified.
The Sample
binary is compiled with resource package
However, the EmptyProject
is compiled as exec without resource package.
But I tried to specify the running folder according to the doc
--pp path/to/sample-project/Project
I tried many various ones with bin/, without bin/ project folder, rbfx folder, etc; None of them working. So I suspect might I need to specify it in CMakeList file. I don't want to do all those complicated resource packaging for this though.
I am trying to build the empty project along with rbfx diligent branch on MacOS M2 Chip according to this setting.
The build succeeded, however, the application will crash due to some nullptr in ImGuiDiligentRendering part, the call stack is as following:
The console log print are: