• 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 DavidSummerWork · Jan 12, 2019 at 07:05 PM · dllnotfoundexception

Problem with the new unity version and steam vr

Hi, so i was developing a program using unity 2018.2.15 and for some stupid reason decided to update to latest unity version 2018.3.1f1 and now im getting three distinct error i cant fix on my own because i got no clue where they came from or whats causing them. Googling resulted in similar issues 2 years ago but the problem then was with the build, its similar here i dont get openvr_api.dll when i build and the errors show up in the console when im in unity but adding the file to a build version doesnt help me as i need it to work on the program in unity. Id really like to know whats going on and how to fix this. The console spits out:

DllNotFoundException: openvr_api Valve.VR.OpenVR.GetInitToken () (at Assets/SteamVR/Plugins/openvr_api.cs:5527) Valve.VR.OpenVR+COpenVRContext.CheckClear () (at Assets/SteamVR/Plugins/openvr_api.cs:5777) Valve.VR.OpenVR+COpenVRContext.VRScreenshots () (at Assets/SteamVR/Plugins/openvr_api.cs:5903) Valve.VR.OpenVR.get_Screenshots () (at Assets/SteamVR/Plugins/openvr_api.cs:5988) Valve.VR.SteamVR_Render.OnEnable () (at Assets/SteamVR/Scripts/SteamVR_Render.cs:253)

DllNotFoundException: openvr_api Valve.VR.OpenVR.GetInitToken () (at Assets/SteamVR/Plugins/openvr_api.cs:5527) Valve.VR.OpenVR+COpenVRContext.CheckClear () (at Assets/SteamVR/Plugins/openvr_api.cs:5777) Valve.VR.OpenVR+COpenVRContext.VRChaperone () (at Assets/SteamVR/Plugins/openvr_api.cs:5799) Valve.VR.OpenVR.get_Chaperone () (at Assets/SteamVR/Plugins/openvr_api.cs:5980) Valve.VR.InteractionSystem.ChaperoneInfo+c__Iterator0.MoveNext () (at Assets/SteamVR/InteractionSystem/Teleport/Scripts/ChaperoneInfo.cs:57) UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)'

DllNotFoundException: openvr_api Valve.VR.OpenVR.GetInitToken () (at Assets/SteamVR/Plugins/openvr_api.cs:5527) Valve.VR.OpenVR+COpenVRContext.CheckClear () (at Assets/SteamVR/Plugins/openvr_api.cs:5777) Valve.VR.OpenVR+COpenVRContext.VRCompositor () (at Assets/SteamVR/Plugins/openvr_api.cs:5825) Valve.VR.OpenVR.get_Compositor () (at Assets/SteamVR/Plugins/openvr_api.cs:5982) Valve.VR.SteamVR_Render+c__Iterator0.MoveNext () (at Assets/SteamVR/Scripts/SteamVR_Render.cs:133) UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

Dont know if it belongs in the unity domain or the steam vr domain so ive asked in both, really need to find a solution to this fast so i can work on my program again. BR

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by aardappel156 · Jan 12, 2019 at 10:38 PM

You should reimport the steamvr plugin

Comment
Add comment · Share
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
avatar image
0

Answer by DavidSummerWork · Jan 14, 2019 at 08:42 AM

that i already did and i redid it again today but it changes nothing

Comment
Add comment · Show 2 · Share
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
avatar image DavidSummerWork · Jan 14, 2019 at 09:23 AM 2
Share

nvm solved it found a useful post after i switched up the search words and found

https://ancientcoder.blog/2018/12/15/unity-dllnotfoundexception-openvr_api/

the problem is not having installed OpenVR after updating unity which you do by navigating to Window -> Package $$anonymous$$anager and finding openvr in the list and hitting install, after that no issues. One more thing tho the error [Physics.PhysX] RigidBody::setRigidBodyFlag: kinematic bodies with CCD enabled are not supported! CCD will be ignored. could for simplicity sake be accompanied by some list of the objects in question, currently have one i cant find in my hierarchy which contains probably several hundreds if not at least a thousand objects.

avatar image jjennings1990 DavidSummerWork · Mar 28, 2019 at 06:19 PM 0
Share

Thanks so much I ran into the same problem and this was the direct fix for my issue too !

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

100 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

Related Questions

DllNotFoundException: libcairo-2.dll 3 Answers

DllNotFoundException : MonoPosixHelper 2 Answers

DllNotFoundException on Mac OS X, only when Playing in Editor 0 Answers

DllNotFoundException on emulator 0 Answers

DllNotFoundException in Unity Mobile 1 Answer


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