Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by ejpeters · Mar 01, 2021 at 12:20 PM · iosaugmented-realityaugmented realitydllnotfoundexception

Randomly started getting DllNotFoundException error when building AR app for iOS,Building AR app for iOS, everything was working but now the AR element is not and I am getting this DllNotFoundException

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 :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 :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)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

155 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

AR Foundation: different behaviours depending on build platform bug 0 Answers

[AR Foundation][URP] AR Occlusion Soft Edges, iOS & Android 0 Answers

ARFoundation ImageTracking is not detecting images on iOS 13.4.1 0 Answers

IOS crashes with an EXC_BAD_ACCESS on a thread running com.apple.avfoundation.videodataoutput.bufferqueue 0 Answers

Setting up the Orientation of 3D Text in Arkit application 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges