Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
571 views
in Technique[技术] by (71.8m points)

unity3d - Unity XR plugin manager Tries to load oculus dll on windows even if its disabled

I am working on a project where I use both a vive cosmos and an oculus quest 2, for the oculus quest my build target is android and for the vive cosmos its standalone/windows. Now my XR Plugin Manager only has the OpenVRLoader enabled for the standalone tab and on the android tab only the oculus loader is enabled.

Now for some reason, when I build for the vive I get the DllNotFoundException: OculusXRPlugin error. I have checked all of my scripts and assemblies and none of them reference oculus while on windows. I completely removed the Oculus plugin just to check if its really not referenced anywhere and once it was removed the build worked fine. I really don't understand why exactly my build tries to load this .dll even if it isn't referenced by me.

I am using the Oculus.Plugin 1.7.0

Unity 2020.1.13f1

XR Plugin Management 3.2.17

question from:https://stackoverflow.com/questions/65934763/unity-xr-plugin-manager-tries-to-load-oculus-dll-on-windows-even-if-its-disabled

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...