cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to load DLL 'ovrplatformloader'

delphinius81
Rising Star
I recently switched my project to use the oculus unity tools distribution through the Asset store. In preparation for this, I removed all previous dlls and files related to unity tools and the platform sdk. After importing the store version of the sdks and building a GearVR application, I am now seeing the following error in the logcat for my application. I am using Unity 5.6.2p2, with android tools 25.2.3 to build the application. I have also instructed Unity to use OVRPlugin v 1.14.1.


07-26 15:58:45.129 17712 17731 D Unity   : Unable to lookup library path for 'ovrplatformloader', native render plugin support disabled.

07-26 15:58:45.129 17712 17731 E Unity   : Unable to find ovrplatformloader

07-26 15:58:45.140 17712 17731 I Unity   : DllNotFoundException: Unable to load DLL 'ovrplatformloader': The specified module could not be found.

07-26 15:58:45.140 17712 17731 I Unity   :   at Oculus.Platform.CAPI.ovr_UnityInitWrapper (System.String appId) [0x00000] in <filename unknown>:0 

07-26 15:58:45.140 17712 17731 I Unity   :   at Oculus.Platform.Core.Initialize (System.String appId) [0x00000] in <filename unknown>:0 


For a while, it was necessary to have some svcloader file in /Plugins in order for the Platform dll to properly load. However, this file seems to be missing from the last two platform unity packages. Any ideas as to why the platform will no longer load on Android?
6 REPLIES 6

delphinius81
Rising Star
Ugh, figured it out. This is actually due to the asset store version of the plugins/tools including conflicting DLLs for the built-in oculus audio spatializer plugin. You guys should probably include a way to update the version of the spatializer used by unity, similar to how the utilities plugin dll can be updated.

santamanno
Honored Guest
@delphinius81 Can you please advise on how to solve the issue? I'm trying the social starter example, right out of the box, no upgrades or anything, and it fails with that message... Thanks!

WahooDevColton
Honored Guest
@delphinius81 Could you please elaborate on your fix? I am also getting this issue.

Anonymous
Not applicable


Ugh, figured it out. This is actually due to the asset store version of the plugins/tools including conflicting DLLs for the built-in oculus audio spatializer plugin. You guys should probably include a way to update the version of the spatializer used by unity, similar to how the utilities plugin dll can be updated.



Please let me know the specific step you took to solve?

Anonymous
Not applicable
For me, the fix was to set the platform to ARM64 but I was building for the Quest.

PaulAtWarp
Protege