You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we click Reload Current Level button and then run the editor, pilot will crash.
It seems like that some codes from editor.cpp is wrong:
if (ImGui::BeginMenuBar())
{
if (ImGui::BeginMenu("Menu"))
{
if (ImGui::MenuItem("Reload Current Level"))
{
WorldManager::getInstance().reloadCurrentLevel();
onGObjectSelected(PILOT_INVALID_GOBJECT_ID);
}
if (ImGui::MenuItem("Save Current Level"))
{
WorldManager::getInstance().saveCurrentLevel();
}
if (ImGui::MenuItem("Exit"))
{
exit(0);
}
ImGui::EndMenu();
}
ImGui::EndMenuBar();
}
the line 343 should not be
onGObjectSelected(PILOT_INVALID_GOBJECT_ID);
The text was updated successfully, but these errors were encountered:
Thank you very much for your feedback! The crash is related to unproperly handled PhysicsActors. We're working on the patch code now. It will be released in the next update after passing the test.
If we click Reload Current Level button and then run the editor, pilot will crash.

It seems like that some codes from
editor.cpp
is wrong:the line 343 should not be
onGObjectSelected(PILOT_INVALID_GOBJECT_ID);
The text was updated successfully, but these errors were encountered: