helmut.bressler Posted November 18, 2022 Share Posted November 18, 2022 Hello, I have a material which causes a crash in the Unigine_x64.dll . It consistently happens when I use the debug version of the editor, in the release version it occasionally succeeds to compile. I believe that the crash happens inside the shader preprocessor : Reproduction: Create an empty Unigine Script only project (I have used the Float version with the Development runtime) Copy the attached material folder into the projects data folder In the launch_editor.bat file line 3, replace bin\Editor_x64.exe with bin\Editor_x64d.exe run launch_editor.bat - at this point the editor may crash already. If not continue create a child of the smoke_box.ulon click on created child - now it should crash I suppose the crash is happening while the editor tries to preview the material. Once the material has been successfully compiled with the release version before, it also runs in the debug version as well. I guess that is because the compiled materials are cached somewhere. Thanks in advance. Helmut material_smokemeshdynamic.zip Link to comment
bmyagkov Posted November 18, 2022 Share Posted November 18, 2022 Hello! @helmut.bressler We will have a look on this, but may I clarify what is SDK version was used? Thanks! Link to comment
helmut.bressler Posted November 18, 2022 Author Share Posted November 18, 2022 Hello bmyagkov, Sorry I forgot to mention that. Its 2.16.0.1 Engineering. I also should have mentioned that the shaders are in hlsl - I am using the Windows (DX11) render backend. Thanks for looking into this. Helmut 1 Link to comment
bmyagkov Posted November 18, 2022 Share Posted November 18, 2022 1 hour ago, helmut.bressler said: Hello bmyagkov, Sorry I forgot to mention that. Its 2.16.0.1 Engineering. I also should have mentioned that the shaders are in hlsl - I am using the Windows (DX11) render backend. Thanks for looking into this. Helmut Helmut, please just add a new empty line in the end of "smoke_objdynamic_ps.hlsl" and you are good to go :) Thanks! Link to comment
helmut.bressler Posted November 18, 2022 Author Share Posted November 18, 2022 Great that solves it! Many thanks, also for the quick reaction. Helmut 1 Link to comment
Recommended Posts