As per usual I've updated AC and my game is broken. Is there a better way than clicking update in the Asset Store download window because going through this every time makes me not want to update.
When I run the game I get this error:
NullReferenceException: Object reference not set to an instance of an object
AC.RuntimeInventory.SetNull () (at Assets/AdventureCreator/Scripts/Inventory/RuntimeInventory.cs:105)
AC.RuntimeInventory.OnStart () (at Assets/AdventureCreator/Scripts/Inventory/RuntimeInventory.cs:69)
AC.StateHandler.InitPersistentEngine () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:82)
AC.StateHandler.OnAwake () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:69)
AC.KickStarter.SetPersistentEngine () (at Assets/AdventureCreator/Scripts/Game engine/KickStarter.cs:107)
AC.KickStarter.AssignLocalPlayer () (at Assets/AdventureCreator/Scripts/Game engine/KickStarter.cs:1160)
AC.KickStarter.OnAwake () (at Assets/AdventureCreator/Scripts/Game engine/KickStarter.cs:913)
AC.MultiSceneChecker.Awake () (at Assets/AdventureCreator/Scripts/Game engine/MultiSceneChecker.cs:30)
The game pauses and allows me to unpause it and it runs but nothing works, the character just animates in his default state and I can't click on anything. It doesn't play the intro cutscene or anything.
Comments
If you have the EventManager on your GameEngine, I'm confused as to how
the error could appear. Though it's on the prefab, is it also on the local instance in your scene?
I would recommend testing your AC by importing it into a fresh project and running the demo game. It would actually be safe to comment the line the error refers to (line 104 of RuntimeInventory.cs), but you may find it simply gets replaced with another.