Error Message in Unity5.4: OnLevelWasLoaded was found on PhotonHandler
Options
Hi,
just switched to Unity5.4 (final release) and downloaded the latest Photon PUN Libraries, v 1.73. I still get the warning:
OnLevelWasLoaded was found on PhotonHandler
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed
What can I do?
just switched to Unity5.4 (final release) and downloaded the latest Photon PUN Libraries, v 1.73. I still get the warning:
OnLevelWasLoaded was found on PhotonHandler
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed
What can I do?
0
Comments
-
Hi Klaus Eiperle,
since this is just a warning you can safely ignore that for now. In 5.4 Unity developers decided to change this callback so we need to update it in later iterations.0