Now Available: Guide to Asset Streaming in Open World Games

Oculus VRBlog Hero Image
VR offers one of the most immersive and vast entertainment experiences available, but building expansive open worlds comes with a tricky dilemma: figuring out how to fit the world into memory at runtime.
Loading your entire world on hardware-constrained devices quickly puts you at the limit of the system’s memory. Fortunately, players only interact with one section of a world at a time. This gives you the power to save memory via asset streaming, or in other words, running the area of the world being interacted with at a higher fidelity while loading areas farther away at lower resolution.
You can also choose to not load these areas at all until they are in closer proximity to the player. As a player moves around your world, you can load and unload areas based on the potential for player interaction.
Optimizing memory usage is important to both the visual and audio quality of your app, and hitches can negatively impact the player experience. To help you solve your memory problems, you can leverage documentation and an example project for Unity from the Oculus Studios title Dead & Buried 2. This example project describes the process of evaluating assets, profiling runtime performance, generating assets at different levels of detail (LODs), creating a system to load and unload LODs based on player position, and writing tools to confirm that the asset management system is working.
This in-depth project example also provides steps that can easily be rinsed and repeated to optimize runtime throughout all areas of your world, including sub-levels. Conversely, no two worlds are created equal, which is why we also provide suggestions on other ways to further improve runtime performance.
While this example project focuses on loading level geometry, the core principles still apply to components such as audio, animation, meshes and more. Your world is intended to be experienced at full fidelity, and asset streaming is crucial for scaling your current and future apps for an optimal player experience.
Get started with asset streaming by reading the documentation and downloading the example project for Unity.
Games
Unity
Did you find this page helpful?
Thumbs up icon
Thumbs down icon
Explore more
Give Your App the Upper Hand: What’s New with Hand Tracking in v83
Learn how hand tracking in v83 delivers smoother performance, faster movement, and more natural interactions so you can design richer VR experiences with Meta Horizon OS.
All, Apps, Design, Games, Hand tracking, Quest, Unity, Unreal
VAIL VR (Part One): From Couch Surfing to $15M in Crowdfunding
Go behind-the-scenes to see how AEXLAB pivoted VAIL VR’s economy in real time to bridge the gap between premium and free-to-play gamers.
All, Design, Games, Mobile, Quest
Seamless Haptics for Sound Designers: Meta Haptics Studio Meets FMOD and Wwise
Bring audio and haptics together in one workflow. Learn how sound designers can use Meta Haptics Studio with FMOD and Wwise to design, preview, and integrate tactile feedback faster.
All, Design, Quest, Unity, Unreal

Get the latest updates from Meta Horizon.

Get access to highlights and announcements delivered to your inbox.