Getting rid of flickering when doing additive scene unloading and loading (Oculus Quest)

Sounds like you have at least one or two frames without a camera or without any canvas UI, which means the video frame buffer is undefined. It might be black or white or noise or flashing furiously depending on the graphics card.

For my additive loading I always make a disposable loading screen first, something with a public static “go away now please” function I can call once all the pieces are finished loading and in place behind the loading screen.

Here’s some more mad scribblings about additive scenes:

A multi-scene loader thingy:

My typical Scene Loader:

Other notes on additive scene loading:

Timing of scene loading:

Also, if something exists only in one scene, DO NOT MAKE A PREFAB out of it. It’s a waste of time and needlessly splits your work between two files, the prefab and the scene, leading to many possible errors and edge cases.

Two similar examples of checking if everything is ready to go:

1 Like