Skip to content

he version is too old, and some properties do not exist. #1

@2089562399

Description

@2089562399

"I'm using Unity version 2022, and when I open it, I get the following errors."

private static void EnsureLoaderExists<T>() where T : XRLoader
{
XRManagerSettings xrManagerSettings = XRGeneralSettings.Instance.Manager;
if (xrManagerSettings != null && !xrManagerSettings.loaders.Exists(loader => loader is T))
{
xrManagerSettings.loaders.Add(ScriptableObject.CreateInstance<T>());
}
}

Assets/MixedRealityToolkit/Utilities/Editor/Setup/MixedRealityProjectConfigurator.cs(135,63): error CS0246: The type or namespace name 'XRLoader' could not be found (are you missing a using directive or an assembly reference?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions