Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'IConstraint' has the same name as built-in Unity component.
#1
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.
Reply
#2
(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.
Reply