Hi everybody!
well, I thought i finally got the concept of the managers, but i recently ran into a new wall
I've copied the managers and worked successful on a scene, but when i create a "new scene" the scene manager looks like this: (1.39c)
https://www.dropbox.com/s/pns06qzd1xlyoya/manager_prob.jpg?dl=0i tried to create a new one, but it always looks empty like this.. what am i doing wrong here? when i load the first scene, everything looks correct...
just to get the concept right -> every scene/set needs a unique scene_manager, but all other managers are shared? (variable_manager?)
thanks for any help!
Comments
(sorry i didn't see this earlier) i get this error:
NullReferenceException: Object reference not set to an instance of an object
AC.SceneManager.AddPrefab (System.String folderName, System.String prefabName, Boolean canCreateMultiple, Boolean selectAfter, Boolean putInFolder) (at Assets/AdventureCreator/Scripts/Managers/SceneManager.cs:445)
AC.SceneManager.InitialiseObjects () (at Assets/AdventureCreator/Scripts/Managers/SceneManager.cs:368)
AC.SceneManager.ShowGUI () (at Assets/AdventureCreator/Scripts/Managers/SceneManager.cs:60)
AdventureCreator.OnGUI () (at Assets/AdventureCreator/Scripts/Managers/Editor/AdventureCreator.cs:119)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
thanks again!