Open World Streaming System

Project information

  • Category: Unity
  • Genre: Mesh and Data Streaming
  • Project date: March, 2022

An Open World streaming system developed in Unity - loading and unloading mesh data to/from the disk.

This streaming system uses chunks to save and load mesh data to a disk, using player proximity to stream the world data in and out. Unique mesh data is converted to a serializable data class, then saved to disk using the Unity binary formatter. The data can then be deserialized and converted back to mesh data for Unity to use when needed.

The project also uses NPCs and quests to gamify the system. NPCs will move to randomised locations around the world, and will also be loaded and unloaded when out of range of the player. A navmesh system is used to allow NPC's to move between chunks, even when they're not loaded. The quest system works by NPCs providing an object to deliver - which the player then must go and find in the world. These objects are loaded and unloaded with the chunks. Quests are tracked in HUD, and completing quests will give the player gold.

  • Data Streaming
  • NPC Quests and Navmeshes

Designed by BootstrapMade