Not sure what happened, my project was building to iOS just fine then randomly the AR element stopped working (my build wouldn't use my phone camera, just showed default unity 3d background) and now I am getting this -
DllNotFoundException: Packages/com.unity.xr.windowsmr/Runtime/Plugins/x64/WindowsMRXRSDK.dll
UnityEngine.XR.WindowsMR.WindowsMRSessionSubsystem+Provider..ctor () (at Library/PackageCache/com.unity.xr.windowsmr@2.6.1/Runtime/Session/WindowsMRSessionSubsystem.cs:28)
UnityEngine.XR.WindowsMR.WindowsMRSessionSubsystem.CreateProvider () (at Library/PackageCache/com.unity.xr.windowsmr@2.6.1/Runtime/Session/WindowsMRSessionSubsystem.cs:21)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem..ctor () (at Library/PackageCache/com.unity.xr.arsubsystems@2.1.16/Runtime/SessionSubsystem/XRSessionSubsystem.cs:77)
UnityEngine.XR.WindowsMR.WindowsMRSessionSubsystem..ctor () <0x149ff5030 + 0x0004a> in <059d3cd966f944079676b034968fa8ed>:0
System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at :0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at :0)
System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) (at :0)
System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at :0)
System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at :0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) (at :0)
System.Activator.CreateInstance (System.Type type) (at :0)
UnityEngine.SubsystemDescriptor`1[TSubsystem].Create () (at /Users/bokken/buildslave/unity/build/Modules/Subsystems/SubsystemManager.bindings.cs:105)
UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2[TSubsystem,TSubsystemDescriptor].CreateSubsystem () (at Library/PackageCache/com.unity.xr.arfoundation@2.1.16/Runtime/AR/SubsystemLifecycleManager.cs:53)
UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2[TSubsystem,TSubsystemDescriptor].CreateSubsystemIfNecessary () (at Library/PackageCache/com.unity.xr.arfoundation@2.1.16/Runtime/AR/SubsystemLifecycleManager.cs:80)
UnityEngine.XR.ARFoundation.ARSession.OnEnable () (at Library/PackageCache/com.unity.xr.arfoundation@2.1.16/Runtime/AR/ARSession.cs:299)
,I don't think I changed anything about my project but randomly started getting this error and now when I build to iOS my AR project is no longer in AR (doesn't use the phone camera, just shows the default unity 3d background)
Does anyone have any idea what this means? I am new to Unity and AR Foundation
Here is what I'm getting:
DllNotFoundException: Packages/com.unity.xr.windowsmr/Runtime/Plugins/x64/WindowsMRXRSDK.dll
UnityEngine.XR.WindowsMR.WindowsMRSessionSubsystem+Provider..ctor () (at Library/PackageCache/com.unity.xr.windowsmr@2.6.1/Runtime/Session/WindowsMRSessionSubsystem.cs:28)
UnityEngine.XR.WindowsMR.WindowsMRSessionSubsystem.CreateProvider () (at Library/PackageCache/com.unity.xr.windowsmr@2.6.1/Runtime/Session/WindowsMRSessionSubsystem.cs:21)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem..ctor () (at Library/PackageCache/com.unity.xr.arsubsystems@2.1.16/Runtime/SessionSubsystem/XRSessionSubsystem.cs:77)
UnityEngine.XR.WindowsMR.WindowsMRSessionSubsystem..ctor () <0x149ff5030 + 0x0004a> in <059d3cd966f944079676b034968fa8ed>:0
System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at :0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) (at :0)
System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) (at :0)
System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at :0)
System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) (at :0)
System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) (at :0)
System.Activator.CreateInstance (System.Type type) (at :0)
UnityEngine.SubsystemDescriptor`1[TSubsystem].Create () (at /Users/bokken/buildslave/unity/build/Modules/Subsystems/SubsystemManager.bindings.cs:105)
UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2[TSubsystem,TSubsystemDescriptor].CreateSubsystem () (at Library/PackageCache/com.unity.xr.arfoundation@2.1.16/Runtime/AR/SubsystemLifecycleManager.cs:53)
UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`2[TSubsystem,TSubsystemDescriptor].CreateSubsystemIfNecessary () (at Library/PackageCache/com.unity.xr.arfoundation@2.1.16/Runtime/AR/SubsystemLifecycleManager.cs:80)
UnityEngine.XR.ARFoundation.ARSession.OnEnable () (at Library/PackageCache/com.unity.xr.arfoundation@2.1.16/Runtime/AR/ARSession.cs:299)
↧