Closed infinstarlight closed 1 year ago
Do you have the same crash in the sample or only in your project ? If in your project, where did you add and tick the CogWindowManager ?
I haven't tried it outside of my own project, I will try ASAP.
So the sample project crashes as well. CogWindowManager.cpp at line 108 and CogImguiWidget.cpp at line 100
Ok I can reproduce it. I first tried in Editor, but the command only works in package. Will investigate. Thanks!
This should be fixed by this commit: https://github.com/arnaud-jamin/Cog/commit/4c9f73147583d925bc59d64820198c88edec900e
I use the RestartLevel command often when debugging BPs and such in my project.
Unable to find a log with more specific info so here are the offending lines per the CrashReporter.
`Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000000100000002
UnrealEditor_CogWindow!UCogWindowManager::Render() [C:\ISS_COS\ProjectLion\Plugins\Cog\Source\CogWindow\Private\CogWindowManager.cpp:110] UnrealEditor_CogImgui!SCogImguiWidget::TickImGui() [C:\ISS_COS\ProjectLion\Plugins\Cog\Source\CogImgui\Private\CogImguiWidget.cpp:100]`
CogWindowManager
` for (UCogWindow* Window : Windows) { Window->RenderTick(DeltaTime);
CogImguiWidget
ImGui::NewFrame(); Render(InDeltaTime); ImGui::Render();