Splash Screen
Updated: Jul 5, 2024
The
Meta XR Core SDK allows splash screens that are driven by the operating system. System splash screens offer a high-performance, high-quality alternative to common implementations that depend on the application layer, and load significantly faster than their application-driven counterparts.
During startup, the system splash screen appears with the standard Meta animated loading icon world-locked beneath it. Similar to the behavior of built-in Meta UI overlays, the splash screen and loading icon pop to center when the viewer looks too far in another direction.
The system splash and loading icon disappear upon the first app frame. If you want to get something up as soon as possible, you can display a system splash before an animated app-driven splash. This works whether the first frame is an app-driven splash screen or a 3D scene.
To achieve optimal visual quality, the system splash screen is automatically re-sized and positioned according to the dimensions of the PNG source file. You can control the size by increasing or decreasing the resolution of your PNG file. For example, to double the size of the splash screen, double its dimensions.
- Copy your splash screen PNG file to the Assets folder.
- From the Hierarchy tab, select OVRCameraRig to open the settings in the Inspector tab.
- Under Quest Features, in System Splash Screen, click Select to select the splash screen image.
- Click Save and use copy for a system generated compatible texture copy; otherwise, select Use original.
- To test the integration, build your app and run it on Meta Quest headset.