Skip to content

Regression: Physics improper cleanup at Stop #375

@litelawliet

Description

@litelawliet

Description
The physics doesn't stop and clear itself properly after hitting the Stop button. This is due to improper scene deletion when stopping the game. Might be a deletion's order issue due to std::unique_ptr<Scene> m_currentScene in SceneManager.

The crash only appears when closing Overload editor.
Introduced by #369.

Expected behavior
The physics should stop and clear properly before deleting the scene.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CrashSomething that causes a crash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions