I’ve two DLLs where one is for x64 and one is for x86. They’ve same name but on different path. And this should be normal. But however, unity throws error:
Thank you so much for response!
Yeah sure. But I want to have both so I can put those in Asset Store. And I’ve actually seen other plugins with same name (but for different cpu, 32bt and 64bit) without throwing errors.
I know this isn’t that helpful, but according to the official Unity Developer Guide from Oculus it’s a known issue and can be ignored. page 84: "Unity 5.6 and later: If you have updated your OVRPlugin version from Utilities, you may see a spurious error message when the Editor first launches saying “Multiple plugins with the same name ‘ovrplugin’”. Please disregard."
Yeah sorry, I just noticed my comment wasn’t even relevant for your question. I somehow thought this was about using the OculusUtilities because this is a common problem there too, my bad.
Have your tried ‘Reimport All’ or deleting the library folder as suggested in this thread?
My problem is like the error, I can not building the project.
Error building Player: Multiple plugins with the same name ‘liboni’ (found at ‘Assets/Obi/Plugins/libOni.bundle’ and ‘Assets/Obi/Plugins/libOni.bundle’). That means one or more plugins are set to be compatible with Editor. Only one plugin at the time can be used by Editor.
I know this is an old post but, seeing as I just figured it out I figured I would answer it on here.
If you have multiple plugins of the same name, the editor doesn’t know which one to use. So, you need to go into your plugin import settings and deselect the editor for one of them. If you notice in the OP’s photos you will see that the Editor is selected for both plugins, in order to fix this just unselect it for one of them. It is more of the Editor doesn’t know which plugin to choose when it runs. So, you have to tell it when there are multiple.
open the scene that is not related to plugin of this problem.
Delete the plugin asset folder in the project
Close the Unity
(There will be the process related to deleting the plugin.)
Open this Project again.
Reimport the plugin asset newly.
Build is possible.
Hope this is helpful ~
(** if this method is not successful, then between 0 and 1, you can delete Library folder of the Project and reproduce the Library folder… I did this process but I don’t think this is necessary)