Hi i am getting this error:
Could not set correct GameState!
-----------------------------
UnityEngine.Debug:LogWarning(Object, Object)
AC.ACDebug:LogWarning(Object, Object) (at Assets/AdventureCreator/Scripts/Static/ACDebug.cs:26)
AC.ActionListManager:SetCorrectGameStateEnd() (at Assets/AdventureCreator/Scripts/Managers/ActionListManager.cs:491)
AC.ActionListManager:EndList(ActiveList) (at Assets/AdventureCreator/Scripts/Managers/ActionListManager.cs:407)
AC.ActionListManager:EndList(ActionList) (at Assets/AdventureCreator/Scripts/Managers/ActionListManager.cs:376)
AC.ActionList:Kill() (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:586)
AC.<EndCutscene>c__Iterator3:MoveNext() (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:515)
After that:
NullReferenceException: Object reference not set to an instance of an objectAC.ActionListManager.PurgeLists () (at Assets/AdventureCreator/Scripts/Managers/ActionListManager.cs:508)
AC.ActionListManager.SetCorrectGameStateEnd () (at Assets/AdventureCreator/Scripts/Managers/ActionListManager.cs:494)
AC.ActionListManager.EndList (AC.ActiveList activeList) (at Assets/AdventureCreator/Scripts/Managers/ActionListManager.cs:407)
AC.ActionListManager.EndList (AC.ActionList actionList) (at Assets/AdventureCreator/Scripts/Managers/ActionListManager.cs:376)
AC.ActionList.Kill () (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:586)
AC.ActionList+<EndCutscene>c__Iterator3.MoveNext () (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:515)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
What could it be?
Comments
It should, however, wake up again when you re-enter the AC scene. Would you be able to provide a detailed step-by-step account of exactly what you're doing (i.e. the Action to change scene, the code to go back to the AC scene, and any messages that appear in the Console)?