Jenna Reanne
Guest
Posts: 0
|
Post by Jenna Reanne on Mar 25, 2015 18:28:29 GMT
Hello - I'm in the process of upgrading to Unity 5 today and I'm running into a MasterAudio issue. It's throwing this error:
Playlist Controller is not initialized yet. It must call its own Awake & Start method before any other methods are called. If you have a script with an Awake or Start event that needs to call it, make sure PlaylistController.cs is set to execute first (Script Execution Order window in Unity). UnityEngine.Debug:LogError(Object) PlaylistController:StartPlaylist(String) (at Assets/DarkTonic/MasterAudio/Scripts/Utility/PlaylistController.cs:821) MasterAudio:StartPlaylist(String, String) (at Assets/DarkTonic/MasterAudio/Scripts/Singleton/MasterAudio.cs:4151) MasterAudioPlaylistStartByName:OnEnter() (at Assets/DarkTonic/MasterAudio/PlaymakerCustomActions/MasterAudioPlaylistStartByName.cs:19) HutongGames.PlayMaker.FsmState:ActivateActions(Int32) HutongGames.PlayMaker.FsmState:OnEnter() HutongGames.PlayMaker.Fsm:EnterState(FsmState) HutongGames.PlayMaker.Fsm:SwitchState(FsmState) HutongGames.PlayMaker.Fsm:UpdateStateChanges() HutongGames.PlayMaker.Fsm:Start() HutongGames.PlayMaker.Fsm:ProcessEvent(FsmEvent, FsmEventData) HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent) HutongGames.PlayMaker.Fsm:Event(FsmEvent) PlayMakerFSM:OnLevelWasLoaded()
I'm running the most recent version of both Unity and Master Audio. Oddly enough, sometimes this error stops the game dead and sometimes it doesn't. Any help figuring this out would be greatly appreciated!
Thank you, Jenna
|
|
|
Post by DarkTonic Dev on Mar 25, 2015 19:50:25 GMT
Sorry but I'm not able to reproduce that bug. I had a similar bug and fixed it 2 updates ago. However, I wasn't using Playmaker.
Is there a reason you don't just use EventSounds script for this (starting a playlist)? It does work properly with the Start event.
Otherwise you may need to arrange Playmaker script(s) in Script Execution Order. I'm not sure how many there are or if it's even possible.
|
|