Hello, everyone! I started a project today in Unity 2020.3.27f1 and lost a whole day trying to fix this error: "Failed to load OVRPlugin.dll UnityEngine.Debug:LogError (object) Unity.XR.Oculus.OculusLoader:EditorLoadOVRPlugin () (at Library/PackageCache/com.unity.xr.oculus@1.11.2/Runtime/OculusLoader.cs:237) UnityEditor.EditorAssemblies: ProcessInitializeOnLoadMethodAttributes ()" I already reinstalled Unity, Oculus Integration Package (version 37.0) and XR Plugin Management, but nothing fixed the error. The project don't display the error in "PC, Mac & Linux Standalone" build target, only when I switch to "Android" build target. I cannot even Play an empty scene, because everything in Unity freezes in "Inspector.Tick" loading message. Can anyone help me with this? This error never happened before and I have several VR apps created in Unity with Oculus Integration plugin. Thanks in advance.
I deleted the version 37 of the Oculus Integration Package and instaled the previous version. The error was solved this way.
Hi, I am having the same problem... How do you delete the latest version of Oculus Integration Package in order to install the previous version? Hope doing so it will solve it...
Hi, I have solved this issue by replacing oculus XR Plugin newer version to older one. There are two steps to solve the issue: 1. Upgrade Oculus Latest version (or) 2. Downgrade Oculus XR Plugin Follow this steps to Downgrade Oculus XR Plugin: https://github.com/needle-mirror/com.unity.xr.oculus/releases 1. Download older version of oculus XR plugin 1.xx.x. 2. Extract the file, you will see "package.json". 3. In package manager,on the left top corner click "+" icon to "add package from disk", and browse the location where you have dowloaded the package.json. there you go, the problem got resolved.