Lost part of skybox when changing at runtime

In my headset, when I change skybox at runtime, a part of the skybox desappear (see picture) before the new one appear. It seems that the webrequest used for getting the new skybox create this situation. Any idea how to correct that to get a smooth transition.

Not sure I understand your question: you’re loading skybox faces using web requests, correct? Why not load all faces at once, and only present the entire skybox once all faces are loaded?

No I’m using “Skybox/Panoramic” so all the skybox is loaded at the same time in a equirectangular jpg file.

The Skybox/Panoramic shader has multiple options for how it handles the input texture. Are you sure the material is setup in the correct way for the texture you’re loading, and that the specific variant is included in the build? And have you ensured that the texture you’re getting at runtime is properly formatted (without any large black areas).

Mat and texture are ok. The problem seems to come from the sendwebrequest. If I use preloaded material that problem don’t appear but as soon as I use sendwebrequest to get the new texture the problem is there.

I’ve open a thread on AR/VR discussion, there’s more details there: https://discussions.unity.com/t/891923