bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

UIWindow is an ambiguous reference #206

Closed bsimser closed 8 years ago

bsimser commented 8 years ago

Original report by th3flyboy (Bitbucket: th3flyboy, ).


In Unity 5.3.4f and Visual Studio 2015 with the Visual Assist X plugin, I get errors on all UIWindow instances in Inventory Pro because it is an ambiguous reference and doesn't know if it should reference Devdog.InventorySystem.UI.UIWindow or UnityEngine.UI.UIWindow. This causes a mess of compile errors.

bsimser commented 8 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Where did you get the UnityEngine.UI.UIWindow class from? It's not a default built-in Unity UI component.

bsimser commented 8 years ago

Original comment by th3flyboy (Bitbucket: th3flyboy, ).


I have no idea, I'm going to do a pure workspace and see what happens.

bsimser commented 8 years ago

Original comment by th3flyboy (Bitbucket: th3flyboy, ).


It seems there is a conflict somewhere, I'll investigate.

bsimser commented 8 years ago

Original comment by th3flyboy (Bitbucket: th3flyboy, ).


Alright, I think I found it. It appears that Holo UI for UGUI was still in there, and it was conflicting (although nothing flagged on Holo UI). Removing Holo UI fixed it.