hi, I'm trying to create a behavior: there is a hotspot in the scene, clicking on which opens a menu (almost the entire screen), inside which there is an arranging puzzle, but when I open the menu, I catch an error:
NullReferenceException: Object reference not set to an instance of an object
AC.Downloads.ArrangingPuzzle.ArrangingPuzzlePiece.Update () (at Assets/AdventureCreator/Downloads/Arranging puzzle/Assets/Scripts/ArrangingPuzzlePiece.cs:77)
the only option is to make a separate scene where the arranging puzzle will work, but I would like to get exactly the option without changing the scene.
I've tried using the scene add, but I just can't see the new scene in the game.
what could be the reason, or is there something I don't understand?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
The error will show if the piece has no Arranging Puzzle Manager associated with it. This is a component necessary in your scene / prefab that must reference the piece for the template to work.
I have updated the package to replace this error with a warning message, but it will still require the Arranging Puzzle Manager to be present.