Forum Discussion
2 Replies
- juansueroroboticsExplorer
I have the same issue.
i saw that the dll was inside the C:\Program Files\Oculus\Support\oculus-runtimedirectory where the oculus home app lives.
So i tried adding it to the csproj and to unity by dragging it in the plugins folder but still didnt work
i even tried to regsvr32 LibOVRPlatform64_1.dll
but that didnt work - juansueroroboticsExplorer
i found the answer here
https://communityforums.atmeta.com/t5/Unity-VR-Development/DllNotFoundException-InteractionSdk-assembly-ERROR-help/td-p/1068378
"Hello again guys,I think I found a solution, it was driving me crazy.Please follow the steps below:1. Close Unity and Oculus app and also disconnect VR headset.2. Reopen the project Unity project3. Click play (without having connected the VR headset or open the Oculus app), you should not see any error in the console, if you see it, repeat 1, 2, 3.
4. Exit play mode5. Open Oculus app, connect the headset and in the VR headset relaunch Oculus Link, wait until Oculus Link is fully charged.6. Click play in Unity, normally you shouldn't have any errors and everything should work.I have no idea why it works or how it works, but it works, I guess somehow unity loads the .dll the first time correctly.If anyone knows why it works, I'd love to know. "