Obi Official Forum

Full Version: 'IConstraint' has the same name as built-in Unity component.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Upon importing ObiRope 6.2 I get this warning: 

Code:
Script 'IConstraint' has the same name as built-in Unity component.

AddComponent and GetComponent will not work with this script.


And it looks like IConstraint should be part of the obi namespace which it currently isn't.
(10-09-2021, 02:31 PM)fleity Wrote: [ -> ]Upon importing ObiRope 6.2 I get this warning: 

Code:
Script 'IConstraint' has the same name as built-in Unity component.

AddComponent and GetComponent will not work with this script.


And it looks like IConstraint should be part of the obi namespace which it currently isn't.

What Unity version are you using? There’s no IConstraint interface declared in the global namespace as far as I’m aware. Obi 6.2 works fine with the latest Unity version for me.