Search Unity

Loading/Unloading terrain tiles in the same scene and performance

Discussion in 'World Building' started by Velo222, Nov 17, 2019.

  1. Velo222

    Velo222

    Joined:
    Apr 29, 2012
    Posts:
    1,437
    Hey guys,

    I am wanting a large world in one of my game projects, but it's not going to be an open world, it will have set boundaries and "edges" to the world.

    But in testing, I noticed that simply enabling and disabling terrain tiles based on their distance to the main player character doesn't really work, because the performance and frame drops when enabling or disabling terrain gameobjects is really bad.

    So I was wondering if there was some way to load/unload or enable/disable terrain tiles in a much more preformant way? Are there any techniques to do this without using separate scenes or do I HAVE to use scene management and load/unload scenes asynchronously or something like that?

    Thanks for any help.