Jump to content

Fatal errors whenever I try to do more than the simplest terrain generation


Recommended Posts

I'm getting 70 or so of this error when I hit play:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.AssetDatabase.Contains (UnityEngine.Object obj) (at <6a4b923691b54d0eb965a9ed2a807ce9>:0)
GeNa.Core.GeNaSpawnerExtensionEditor.OnEnable () (at Assets/Procedural Worlds/GeNa/Scripts/Editor/Extensions/GeNaSpawnerExtensionEditor.cs:33)

This causes the editor to pause. If I clear the error and unpause, I get a new error:

Invalid editor window UnityEditor.CurveEditorWindow
UnityEditor.EditorApplicationLayout:SetPlaymodeLayout ()


How I get to this unhappy place: I generate a terrain from a stamper and it's all kind of going ok. Then I start trying to dress it with roads/stuff/things and somewhere I mess up with a spline or spawner, and the scene is bricked and that's three hours wasted. Nothing I do recovers the situation, just have to start from a fresh scene. I don't know what I'm doing wrong but it sure is frustrating trying to learn how to make the terrain look the way I want and it be so unforgiving of mistakes that the situation is unrecoverable. 😢 Any idea where I'm going wrong ?

Unity 2020.3 LTS, Gaia Pro, URP

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

  • Create New...