Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
rhill's avatar
rhill
Honored Guest
11 years ago

DLLNotFoundException for ONE PROJECT

For one project, I get DLLNotFoundException OculusPlugin.

Things I have checked:

I have deleted the contents of the OVR folder, the Oculus DLLs from the Plugins and re-imported them all from the OculusUnityIntegration.unitypackage


If I make a new project and import the unitypackage there, that project works. What project setting could be causing this problem for the one project only?

1 Reply

Replies have been turned off for this discussion
  • kersk's avatar
    kersk
    Meta Employee
    Are you deleting the old files from within Unity?

    My guess is the old plugin is sticking around. If a native plugin is actively in use by the editor when you delete it, unity can incorrectly show the plugin as deleted even though it is not actually being removed. If you alt-tab or manually refresh the project view, the plugin folder will reappear.

    Try this: quit unity, go to the project location on your hard drive, and manually delete the plugin from the Assets directory. After that, try re-importing the new integration and you should be good to go.