googlevr / gvr-unity-sdk

Google VR SDK for Unity
http://developers.google.com/vr/unity/
Other
2.71k stars 1.1k forks source link

Duplicated definitions #1039

Closed daserge closed 4 years ago

daserge commented 5 years ago

SPECIFIC ISSUE ENCOUNTERED

There's a lot of duplicated definitions in the latest release causing compilation errors, f.e.: https://github.com/googlevr/gvr-unity-sdk/commit/4f53096386d40326c9d732879b6b1620c4a1e485#diff-d33b840fd917e2aacec440f1b6323ed5R22 https://github.com/googlevr/gvr-unity-sdk/blob/4f53096386d40326c9d732879b6b1620c4a1e485/Assets/GoogleVR/Scripts/EventSystem/IGvrPointerHoverHandler.cs#L22

HARDWARE/SOFTWARE VERSIONS

STEPS TO REPRODUCE THE ISSUE

1. 1. 1.

WORKAROUNDS (IF ANY)

ADDITIONAL COMMENTS

daserge commented 5 years ago

@rusmaxham Hello! Is there any workaround to this issue? Thanks

MaggleMitch commented 4 years ago

I am also having this issue!

rusmaxham commented 4 years ago

What duplicated definitions? Can you copy the errors from the Unity console?

daserge commented 4 years ago

OK, so the issue was solved after I've created a blank project, imported the plugin to it and then compared the existing proj with it. Turned out Unity placed some dupes on "upgrade" probably because there were some meta files left over.