Unity version 5.6of3.
Adventure Creator version 1.63.1
Scene switch from first to second scene now not working where it used to work fine and I can't figure out what I've done to mess it up.
On entering the trigger box the screen goes black. Looking at the '#scene' in game following this action, the player has not moved in to the next screen.
As per a previous post describing similar issue:
https://adventurecreator.org/forum/discussion/5172/switching-scenes-does-not-workI added component MultiSceneChecker to Main Camera and Automatic game engine prefabs (already there).
I'd be grateful for advice on this.
Thanks
Comments
Now only 1 multi scene checker on GameEngine prefab.
1. Scene still added to the build settings. Yes,there is a console error relating to Trigger:
NullReferenceException: Object reference not set to an instance of an object
AC.NPC.SaveData (AC.NPCData npcData) (at Assets/AdventureCreator/Scripts/Character/NPC.cs:534)
2. Inspector’s “Run now” button greyed out (currently haven’t worked out how to make it active)
3. Scene settings:
Pathfinding method: Polygon collider
Default NavMesh: Default NavMesh (NavigationMesh)
Default PlayerStart: PlayerStart2D (PlayerStart)
Default Camera: None (Camera)
Default Sorting map: Default SortingMap (SortingMap)
Default Tint map: None (Tint Map)
Default Sound: None (Sound)
Unchecked: Override vertical movement factor?
4. AC Status box vanishes on entering the Trigger.
Thank you.
1. I have now added a Constant ID component to the SortingMap. Sorry, in the excitement I didn't think to check if that Warning was there above the error. It may well have been there among a number of warnings present. Adding the Constant ID component fixed it.
2. Fixing 1 has enabled "Run now" button during gameplay.
3. 'Scene loading' under 'settings' were:
Unchecked: Always reload scene when loading a save file.
Unchecked: Load scenes asynchronously?
Unchecked: Use loading screen?
Many thanks again.