Jump to content

Terrain not rendering after world creation


Grootloops33
Go to solution Solved by Bryan,

Recommended Posts

Hi all,

I've generated a world using Gaia Pro, and I've selected the "Create Scenes for Terrain" option, However this leads to only 4 (the middle 4) blocks of terrain existing, and the rest just spews out a crap ton of errors. Nullref, saying the terrain has not been added to the build settings. 
My world settings are 20x20 tiles, 1024 height, 512m² tiles.

spacer.png
 

As you can see here, only 4 tiles are rendered. And I get this error repeatedly:

NullReferenceException: Object reference not set to an instance of an object
Gaia.TerrainScene.LoadScene (UnityEngine.SceneManagement.Scene scene, System.Boolean& loadRequested, Gaia.LoadState& loadState, System.Boolean isImpostor) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainScene.cs:441)
Gaia.TerrainScene.UpdateLoadState (System.Collections.Generic.List`1[T] referenceList, Gaia.LoadState& loadState, System.Boolean& loadRequested, System.Boolean& unLoadRequested, System.Boolean isImpostor) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainScene.cs:303)
Gaia.TerrainScene.AddRegularReference (UnityEngine.GameObject gameObject) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainScene.cs:144)
Gaia.TerrainLoaderManager.UpdateTerrainLoadState (Gaia.BoundsDouble loadingBoundsRegular, Gaia.BoundsDouble loadingBoundsImpostor, UnityEngine.GameObject requestingObject, System.Single minDistance, System.Single maxDistance, System.Single minThresholdMS, System.Single maxThresholdMS) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainLoaderManager.cs:1043)
Gaia.TerrainLoader.UpdateTerrains () (at Assets/Procedural Worlds/Gaia/Gaia Pro/Scripts/MultiTerrainSystem/TerrainLoader.cs:190)
Gaia.TerrainLoader.Update () (at Assets/Procedural Worlds/Gaia/Gaia Pro/Scripts/MultiTerrainSystem/TerrainLoader.cs:103)

And this error is also relevant:
 

Scene 'Assets/Gaia User Data/Sessions/GS-20220811 - 010148/Terrain Scenes/Terrain_10_8-20220811 - 011100.unity' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...
UnityEngine.SceneManagement.SceneManager:LoadSceneAsync (string,UnityEngine.SceneManagement.LoadSceneMode)
Gaia.TerrainScene:LoadScene (UnityEngine.SceneManagement.Scene,bool&,Gaia.LoadState&,bool) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainScene.cs:432)
Gaia.TerrainScene:UpdateLoadState (System.Collections.Generic.List`1<UnityEngine.GameObject>,Gaia.LoadState&,bool&,bool&,bool) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainScene.cs:303)
Gaia.TerrainScene:AddRegularReference (UnityEngine.GameObject) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainScene.cs:144)
Gaia.TerrainLoaderManager:UpdateTerrainLoadState (Gaia.BoundsDouble,Gaia.BoundsDouble,UnityEngine.GameObject,single,single,single,single) (at Assets/Procedural Worlds/Gaia/Scripts/MultiTerrainSystem/TerrainLoaderManager.cs:1043)
Gaia.TerrainLoader:UpdateTerrains () (at Assets/Procedural Worlds/Gaia/Gaia Pro/Scripts/MultiTerrainSystem/TerrainLoader.cs:190)
Gaia.TerrainLoader:Update () (at Assets/Procedural Worlds/Gaia/Gaia Pro/Scripts/MultiTerrainSystem/TerrainLoader.cs:103)

 

My unity version is 2021.3.8f1

Link to comment
Share on other sites

  • Solution

Can you please go to the Hierarchy and then go to the Gaia Runtime - Terrain Loader. 
Then Click add terrain scenes to build settings: 
image.png

Link to comment
Share on other sites

  • Bryan locked this topic
Guest
This topic is now closed to further replies.
  • 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...