Jump to content

Failed to load display system / Unable to start Wave XR SDK Plugin


JHibbins

Recommended Posts

I resolved this, it's because we were changing Quality Settings, the action of changing quality settings in unity meant the screen goes black, we now just commit to quality from defaults

Link to comment
Share on other sites

Explicitly calling this function results in a black screen, so we just removed this function and setup the defaults based on platform

public void UpdateVideoSettings()
    {
        switch (Options.Option_Video_Shadows)
        {
            case Options.ShadowsEnum.DISABLED:
                QualitySettings.SetQualityLevel(5);
                break;
            case Options.ShadowsEnum.HARD_ONLY:
                QualitySettings.SetQualityLevel(6);
                break;
            case Options.ShadowsEnum.HARD_AND_SOFT:
            default:
                QualitySettings.SetQualityLevel(7);
                break;
        }
        // ANTI ALIASING
        switch (Options.Option_Video_Anti_Aliasing)
        {
            case Options.AntiAliasingEnum.DISABLED:
                QualitySettings.antiAliasing = 0;
                break;
            case Options.AntiAliasingEnum.MULTI_SAMPLING_X2:
                QualitySettings.antiAliasing = 2;
                break;
            case Options.AntiAliasingEnum.MULTI_SAMPLING_X4:
                QualitySettings.antiAliasing = 4;
                break;
            case Options.AntiAliasingEnum.MULTI_SAMPLING_X8:
            default:
                QualitySettings.antiAliasing = 8;
                break;
        }
        UnityEngine.XR.XRSettings.eyeTextureResolutionScale = Options.Option_Video_RenderScale;
        QualitySettings.lodBias = Options.GetOptionVideoLODBias();
    }

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...