Hi, I need some help with two errors, i didn’t have the errors a few months ago when last working on my game but now upon opening my game i get the errors:
Plugins: Failed to load 'C:/Users/Holly Dejong/Desktop/Files/Holly's Game; VR BattleZone/Library/PackageCache/com.unity.xr.oculus@4.0.0/Runtime/x64/AudioPluginOculusSpatializer.dll' because one or more of its dependencies could not be loaded.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: OculusXRPlugin assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Unity.XR.Oculus.NativeMethods+Internal.LoadOVRPlugin(string)
at Unity.XR.Oculus.NativeMethods.LoadOVRPlugin (System.String ovrpPath) [0x00000] in .\Library\PackageCache\com.unity.xr.oculus@4.0.0\Runtime\OculusPlugin.cs:96
at Unity.XR.Oculus.OculusLoader.EditorLoadOVRPlugin () [0x0007b] in .\Library\PackageCache\com.unity.xr.oculus@4.0.0\Runtime\OculusLoader.cs:267
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <eef08f56e2e042f1b3027eca477293d9>:0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <eef08f56e2e042f1b3027eca477293d9>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eef08f56e2e042f1b3027eca477293d9>:0
at UnityEditor.EditorAssemblies.ProcessInitializeOnLoadMethodAttributes () [0x000a5] in <bf6080dbf0564cf1b405dfd6e0dac725>:0
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()
The dll is present in the folder, i’ve tried rebuilding the library, updating packages, changing to an older editor version, but nothing so far has worked. Editor version 2022.3.5f1, game will play in unity with the errors but will not build out to an APK which i need to actually run it on a headset. any help or suggestions would be appreciated.