Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: eirsik on November 07, 2016, 04:19:01 PM

Title: Error on Scene start and Scene stop
Post by: eirsik on November 07, 2016, 04:19:01 PM
I keep getting these errors whenever a FSM object is loaded in the scene on start and when scene changes or closes.

This is a fresh project, have tried to redownload the Playmaker but no luck.
Even tho I get the errors the game works fine, so does the FSM.

Using Unity 5.3.6f1

On Start
Code: [Select]
MissingMethodException: Method not found: 'UnityEngine.SceneManagement.SceneManager.remove_sceneLoaded'.
PlayMakerFSM.OnEnable () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:489)

On Stop/Close
Code: [Select]
MissingMethodException: Method not found: 'UnityEngine.SceneManagement.SceneManager.remove_sceneLoaded'.
PlayMakerFSM.OnDisable () (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:573)
Title: Re: Error on Scene start and Scene stop
Post by: Alex Chouls on November 07, 2016, 09:49:45 PM
It looks like maybe you're using the Unity 5.4 version of Playmaker. The Unity 5.4 version of Playmaker uses SceneManager methods not available in previous versions of Unity.

How are you downloading/importing Playmaker?
If you're using the Asset Store make sure re-download Playmaker while in Unity 5.3.
If you're using the Hutong Games store, make sure you import the correct unitypackage for Unity 5.3.