After messing a lot with render scripts and etc, the game debug started to crash. IDK at which point it started crashing, but in this repo: https://github.com/Caue-Aron/Defold-Post-Processing-Test there are 2 branches, the master doesnt crash but the optmized-blur does. The optimized is suposed to be a faster algorithm of bluring an image, it messes up a lot with the render script. The engine itself doesnt crash, but when debugging the game randomly crash, sometimes right away, sometimes after some seconds, but it eventually crashes. This is the log error:
INFO:CRASH: Successfully wrote Crashdump to file: C:\Users\Usuario\AppData\Roaming\Defold/_crash
ERROR:CRASH: CALL STACK:
ERROR:CRASH: 0 0x7FF7C0F2F620 dmCrash::GenerateCallstack D:\a\defold\defold\engine\crash\src\backtrace_win32.cpp:144
ERROR:CRASH: 1 0x7FF7C1007EA4 _seh_filter_exe minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp:219
ERROR:CRASH: 2 0x7FF7C104BEB4 `__scrt_common_main_seh'::`1'::filt$0 d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:304
ERROR:CRASH: 3 0x7FF7C0F9C2C4 __C_specific_handler d:\agent\_work\4\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp:290
ERROR:CRASH: 4 0x7FFB3FA12300 __chkstk <unknown>:0
ERROR:CRASH: 5 0x7FFB3F9C1070 RtlRaiseException <unknown>:0
ERROR:CRASH: 6 0x7FFB3FA10F20 KiUserExceptionDispatcher <unknown>:0
ERROR:CRASH: 7 0x7FF7C0D5C420 dmRender::ApplyNamedConstantBuffer D:\a\defold\defold\engine\render\src\render\constant.cpp:387
ERROR:CRASH: 8 0x7FF7C0D434F0 dmRender::Draw D:\a\defold\defold\engine\render\src\render\render.cpp:829
ERROR:CRASH: 9 0x7FF7C0D439D0 dmRender::DrawRenderList D:\a\defold\defold\engine\render\src\render\render.cpp:775
ERROR:CRASH: 10 0x7FF7C0D5E510 dmRender::ParseCommands D:\a\defold\defold\engine\render\src\render\render_command.cpp:176
ERROR:CRASH: 11 0x7FF7C0D4F1F0 dmRender::UpdateRenderScriptInstance D:\a\defold\defold\engine\render\src\render\render_script.cpp:3329
ERROR:CRASH: 12 0x7FF7C0BB4DF0 dmEngine::StepFrame D:\a\defold\defold\engine\engine\src\engine.cpp:1602
ERROR:CRASH: 13 0x7FF7C0BB5A90 dmEngineUpdate D:\a\defold\defold\engine\engine\src\engine.cpp:2098
ERROR:CRASH: 14 0x7FF7C0BB5CD0 dmEngine::RunLoop D:\a\defold\defold\engine\engine\src\engine_loop.cpp:83
ERROR:CRASH: 15 0x7FF7C0BAE3C0 engine_main D:\a\defold\defold\engine\engine\src\engine_main.cpp:148
ERROR:CRASH: 16 0x7FF7C0F974E4 __scrt_common_main_seh d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
ERROR:CRASH: 17 0x7FFB3E7C7600 BaseThreadInitThunk <unknown>:0
ERROR:CRASH: 18 0x7FFB3F9C2680 RtlUserThreadStart <unknown>:0
ERROR:CRASH:
INFO:CRASH: Successfully wrote Crashdump to file: C:\Users\Usuario\AppData\Roaming\Defold/_crash
ERROR:CRASH: CALL STACK:
ERROR:CRASH: 0 0x7FF7C0D5C420 dmRender::ApplyNamedConstantBuffer D:\a\defold\defold\engine\render\src\render\constant.cpp:387
ERROR:CRASH: 1 0x7FF7C0D434F0 dmRender::Draw D:\a\defold\defold\engine\render\src\render\render.cpp:829
ERROR:CRASH: 2 0x7FF7C0D439D0 dmRender::DrawRenderList D:\a\defold\defold\engine\render\src\render\render.cpp:775
ERROR:CRASH: 3 0x7FF7C0D5E510 dmRender::ParseCommands D:\a\defold\defold\engine\render\src\render\render_command.cpp:176
ERROR:CRASH: 4 0x7FF7C0D4F1F0 dmRender::UpdateRenderScriptInstance D:\a\defold\defold\engine\render\src\render\render_script.cpp:3329
ERROR:CRASH: 5 0x7FF7C0BB4DF0 dmEngine::StepFrame D:\a\defold\defold\engine\engine\src\engine.cpp:1602
ERROR:CRASH: 6 0x7FF7C0BB5A90 dmEngineUpdate D:\a\defold\defold\engine\engine\src\engine.cpp:2098
ERROR:CRASH: 7 0x7FF7C0BB5CD0 dmEngine::RunLoop D:\a\defold\defold\engine\engine\src\engine_loop.cpp:83
ERROR:CRASH: 8 0x7FF7C0BAE3C0 engine_main D:\a\defold\defold\engine\engine\src\engine_main.cpp:148
ERROR:CRASH: 9 0x7FF7C0F974E4 __scrt_common_main_seh d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
ERROR:CRASH: 10 0x7FFB3E7C7600 BaseThreadInitThunk <unknown>:0
ERROR:CRASH: 11 0x7FFB3F9C2680 RtlUserThreadStart <unknown>:0
ERROR:CRASH:
INFO:CRASH: Successfully wrote MiniDump to file: C:\Users\Usuario\AppData\Roaming\Defold/_crash.dmp
Heres the generated files:
crash.zip (19.5 KB)
this is the version of the editor:
it doesnt break anything but its kinda boring that it closes after some time. Ima test if the executable also crashes.