Jump to content

Load multiple terrain scenes in game


Eduardo M.A.R.
Go to solution Solved by Peter,

Recommended Posts

Hello, I have an issue with Gaia Pro 2021. I generated a world with 50x50 small terrains in Unity, each of which generated a terrain scene so as to better use memory and processing power, as Gaia recommends. However, the problem is when I hit play, I can only interact with and see 2x2 small terrains. If I get out of the play mode and change the settings on the scene menu, it will load other 2x2 terrain scenes, but not the previous ones, at the same time, when I hit play. I would like to know how can I load the adjacent terrain scenes as I move with the playable character and unload the ones I get distant to. In this way, I can have a smooth and pleasant gameplay. It's a very small problem, but I can't seem to figure it out looking for its solution in my searches online so far. Can anyone help me?

Link to comment
Share on other sites

  • Solution

Hi @Eduardo M.A.R., it sounds like you need to increase the loading range on your Gaia Player / Terrain Loader component: If you set Gaia up to produce multiple smaller terrain tiles, those tiles can be loaded in and out during runtime to preserve resources.
image.png

The loading range controls how large of an area surrounding the player is being loaded as the player moves around in the world. 

During design time you can control which part of the world is being loaded in various ways, you can for example set a larger radius in the scene view panel, or switch it to load terrain based on the position of the scene view camera instead:

image.png

You can learn more about terrain loading with Gaia in this library article:

https://canopy.procedural-worlds.com/library/tools/gaia-pro-2021/written-articles/creating_runtime/2-terrain-loading-streaming-in-gaia-pro-gaia-pro-2021-r64/

 

Link to comment
Share on other sites

Thank you for your answer! I'll be testing the solution as soon as possible, probably this weekend. I have searched for this piece of information for a very long time!

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...