Sectorize is a terrain streaming tool for large Unity scenes. It turns terrain tiles into Sectors, stores those sectors in a terrain sector layer, and loads or unloads their additive scenes around active cameras. Sectorize is useful when a large world is split into terrain tiles and only nearby terrain scenes should stay loaded.Documentation Index
Fetch the complete documentation index at: https://docs.abberia.com/llms.txt
Use this file to discover all available pages before exploring further.
Get started
Create sectors from terrain tiles and understand the Sectorize workflow.
Settings overview
Browse Sectors, Scene Settings, and Streaming Rules.
How it works
Sectorize uses the sector layer tagTerrain.
During rendering, Sectorize checks every active camera from Cameras. For each camera, it finds sectors that overlap the loading distance and decides what to do:
- Sectors inside Immediately Loading distance load right away.
- Sectors inside Asynchronous Loading distance can load with a pause between scene loads.
- Loaded sectors outside the loading area unload, unless Preventing Unloading keeps them alive.
- If Caching is active, sectors can be cached before they unload.
Supported terrain sources
The current package includes a Unity Terrain virtual terrain helper. It reads UnityTerrain bounds and creates sectors from those terrain tiles.
The terrain helper system is extensible. Other terrain systems can be supported by adding a VirtualTerrain implementation with a TerrainHelper attribute.
Main workflows
- Create additive sector scenes from terrain tiles in the active scene.
- Register existing additive terrain scenes as sectors.
- Stream sectors around cameras during Play Mode or Editor Play Mode simulation.
- Use manual scene control in Edit Mode to load or unload every sector scene.
- Connect generated sectors to the Scene Manager integration.
