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
In Unity when running a panto application with an existing panto object and then loading a new scene, the connection crashes (heartbeat goes red).
Causes
This might be because the old panto object gets destroyed and the new panto object wants to establish connection and setup everything that already has been set up.
Suggestion
Mark the Panto game object with DontDestroyOnLoad which stops it from being destroyed when loading a new scene. You would also have to mark everything the panto object instantiated and make sure that every game object independent of it's scene or state can access the panto game object. This will probably cause (partially) a restructuring of the framework.
The text was updated successfully, but these errors were encountered:
Problem
In Unity when running a panto application with an existing panto object and then loading a new scene, the connection crashes (heartbeat goes red).
Causes
This might be because the old panto object gets destroyed and the new panto object wants to establish connection and setup everything that already has been set up.
Suggestion
Mark the Panto game object with
DontDestroyOnLoad
which stops it from being destroyed when loading a new scene. You would also have to mark everything the panto object instantiated and make sure that every game object independent of it's scene or state can access the panto game object. This will probably cause (partially) a restructuring of the framework.The text was updated successfully, but these errors were encountered: