You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm using Unity 2022.2.0f1 and I'm using the latest version of the Cardboard XR Plugin and the code fails at the following line, I've tried everything including targeting different architectures
Debug.Log("Initializing XR...");
yield return XRGeneralSettings.Instance.Manager.InitializeLoader(); //Line where it's failing
if (XRGeneralSettings.Instance.Manager.activeLoader == null)
{
Debug.LogError("Initializing XR Failed."); //If statement leads to here
}
else
{
Debug.Log("XR initialized.");
Debug.Log("Starting XR...");
XRGeneralSettings.Instance.Manager.StartSubsystems();
Debug.Log("XR started.");
SceneManager.LoadScene("RandomGame");
}
Debug.Log(XRGeneralSettings.Instance);
Debug.Log(XRGeneralSettings.Instance.Manager);
Furthermore I get the following error on Logcat. I've tried to include the GFX aar file via the link.xml file however this did not work
01-23 11:48:21.413 1318 1347 I Unity : Initializing XR...
01-23 11:48:21.417 1318 1347 E Unity : DllNotFoundException: GfxPluginCardboard assembly:<unknown assembly> type:<unknown type> member:(null)
01-23 11:48:21.417 1318 1347 E Unity : at (wrapper managed-to-native) Google.XR.Cardboard.XRLoader.CardboardUnity_initializeAndroid(intptr)
01-23 11:48:21.417 1318 1347 E Unity : at Google.XR.Cardboard.XRLoader.CardboardSDKInitialize () [0x0002a] in <958d26e4323d4663af3cb088e09a4121>:0
01-23 11:48:21.417 1318 1347 E Unity : at Google.XR.Cardboard.XRLoader.Initialize () [0x00000] in <958d26e4323d4663af3cb088e09a4121>:0
01-23 11:48:21.417 1318 1347 E Unity : at UnityEngine.XR.Management.XRManagerSettings+<InitializeLoader>d__24.MoveNext () [0x0007e] in <0bee07df36d6466b8480cf5b165508c2>:0
01-23 11:48:21.417 1318 1347 E Unity : at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <6545c77c885546489ebffd8fa98ea4ba>:0
01-23 11:48:21.417 1318 1347 E Unity : UnityEngine.MonoBehaviour:StartCoroutineManaged2(MonoBehaviour, IEnumerator)
01-23 11:48:21.417 1318 1347 E Unity : UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue.
After closer inspection I’ve noticed that you reported that this is happening on Unity 2022.2.0f1 which is not an LTS version of Unity.
Are you able to reproduce this issue on Unity 2022.3.45f1?
Hi,
So I'm using Unity 2022.2.0f1 and I'm using the latest version of the Cardboard XR Plugin and the code fails at the following line, I've tried everything including targeting different architectures
Furthermore I get the following error on Logcat. I've tried to include the GFX aar file via the link.xml file however this did not work
The text was updated successfully, but these errors were encountered: