Obi Official Forum
Unity 2018.3 supported? - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Unity 2018.3 supported? (/thread-747.html)



Unity 2018.3 supported? - KjetilMV - 14-11-2018

Hi

I was just wondering anyone has testet Obi Rope with Unity 2018.3 yet?

Thanks


RE: Unity 2018.3 supported? - ibbybn - 18-11-2018

(14-11-2018, 07:32 PM)KjetilMV Wrote: Hi

I was just wondering anyone has testet Obi Rope with Unity 2018.3 yet?

Thanks

I'm using it with the latest beta and got no problems at all so far!


RE: Unity 2018.3 supported? - KjetilMV - 21-01-2019

(18-11-2018, 04:23 PM)ibbybn Wrote: I'm using it with the latest beta and got no problems at all so far!

I've finally tested out 2018.3.

I'm having some problems with the obirope cursor which throws the exception below when called.

Code:
cursor.ChangeLength(Mathf.Clamp(targetLength, minLength, maxLength));

This used to work before, and I think it's related to 2018.3. Is this a know issue? 

The error message:

OverflowException: Negating the minimum value of a twos complement number is invalid.
System.Math.AbsHelper (System.Int32 value) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Math.Abs (System.Int32 value) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEngine.Mathf.Abs (System.Int32 value) (at C:/buildslave/unity/build/Runtime/Export/Mathf.cs:58)
Obi.ObiRopeCursor.RemoveParticles (System.Int32 amount) (at Assets/Obi/Scripts/Utils/ObiRopeCursor.cs:182)
Obi.ObiRopeCursor.ChangeLength (System.Single newLength) (at Assets/Obi/Scripts/Utils/ObiRopeCursor.cs:283)
GenericRopeController.FixedUpdate () (at Assets/Winch and Obi/GenericRopeController.cs:19)