Skip to content

Not unload/reloading as expected #172

@convolutedqueryman

Description

@convolutedqueryman

Hello,

When the user dismisses the Unity game by pressing the "back arrow" button/gesture on Android and iOS, Unity/azesmway plugin calls the Application.Unload() method and that is it. When you go back to the Unity game inside React Native, Unity re-starts and everyone is happy.

However, the same doesn't happen when it is React Native moving between screens, like when the user uses the app menu to go elsewhere, for instance. We have Debug.Logged every line of code but the React Native team reports that Unity is not calling Application.Unload(), and they report Unity to appear "frozen" when they go back to the Unity screen (Unity is not reloading or is merely paused).

Any idea how to solve or circumvent this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions