Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2089562399 opened this issue Jul 10, 2024 · 0 comments
Open

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

2089562399 opened this issue Jul 10, 2024 · 0 comments

Comments

@2089562399
Copy link

"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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant