0 votes
by (120 points)
edited by

I have an issue when the "Static Splash Image" is set as well as the "Virtual Reality Splash Image" in the Unity player build settings.

When the app launches, it will show the "Static Splash Image" for one second in what I think is non-vr before finally switching to the "Virtual Reality Splash Image".

Is this a bug? My workaround for the moment is to unset the "Static Splash Image" when making a pico build.

1 Answer

0 votes
by (27.7k points)

Deer developer,
Thanks for your responding, as we know, "Static Splash Image" should not work out in our equipment with Unity XR SDK, only Virtual Reality Splash Image will be showed while you open your game, so would you tell us your unity version and sdk version, we will test it.
Thank you!

by (120 points)
edited by

Unity 2019.4.13f1 and I was able to replicate it with the most recent sdk released on 6/6/22, v2.0.5. PUI is 4.5.30

by (27.7k points)

Deer developer,
Thanks for your responding, we tried create an empty project using SDK2.0.5 and unity 2019.4.13f1, added image in both "Static Splash Image" and "Virtual Reality Splash Image", runing in neo3, only "Virtual Reality Splash Image" showed, it worked well. So we suggest you create an empty project with sdk and try again, maybe your project is to big. Or you can try re-import sdk in your project.
Thanks

by (120 points)

Sorry that was one other thing I forgot about, I have created a separate project and could reproduce it within it, however I needed to delay the initial scene load.
So I created the below script SplashTest.cs

using UnityEngine;

public class SplashTest : MonoBehaviour
{
    public GameObject LoadDelayPrefab;
    public int Count = 100000;

    private void Awake()
    {
        for (int i = 0; i < Count; ++i)
        {
            Instantiate(LoadDelayPrefab);
        }
    }
}

If you add this script to an object in your initial scene and set the prefab property to a prefab made from something like a cube or model so it has something that will take time to instantiate x 100k.
If you cannot reproduce it with this change, I can zip up an example project with the issue.

by (27.7k points)

Deer developer,
Thanks for your responding again, however, we added your script in our project but we still cannot reproduce your problem. Would you provide a test project that can reproduce your problems and send it to Pico_ devanswers@bytedance.com. We will test it. Please use the title of your forum question as the subject of your email. If the attachment exceeds the size limit of the email attachment and the email is returned, please upload the attachment to the cloud and send it as a download link.
Thank you!

by (27.7k points)

Deer developer,
Thanks, we had received your project and tested it, and we reproduced your problem, however, after we communicated, the "Static Splash Image" setting is only for Android and it will show before "Virtual Reality Splash Image", it`s correct, not a bug, so if you just want splash, you can just use "Virtual Reality Splash Image". Or you need "Static Splash Image" to do something else? Please tell us.
Thanks.

...