Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unity 2019.3.12
#1
Exclamación 
Hello!

I wanted to check how Obi products work with the latest Unity version but it looks that there is some bug!
( Not sure if it's Unity or Obi bug )

Created a new empty project and imported the latest Obi Rope.
After want to use in code ObiActor or other Obi components receive an error that can't find a reference to such class?!

Switched to Unity 2019.3.11 and everything works fine there!
Can use in code ObiActor etc.

P.S. Also the example code throws errors in Visual Studio!
The developer of Area 86 
https://simdevs.com
Reply
#2
(01-05-2020, 01:18 PM)Kristaps Wrote: Hello!

I wanted to check how Obi products work with the latest Unity version but it looks that there is some bug!
( Not sure if it's Unity or Obi bug )

Created a new empty project and imported the latest Obi Rope.
After want to use in code ObiActor or other Obi components receive an error that can't find a reference to such class?!

Switched to Unity 2019.3.11 and everything works fine there!
Can use in code ObiActor etc.

P.S. Also the example code throws errors in Visual Studio!

Hi,

We are unable to reproduce this. Make sure you're declaring to use the Obi namespace:

Code:
using Obi;

at the top of your scripts. If this isn't the cause, could you please share with us the errors you're getting?
Reply
#3
(01-05-2020, 01:26 PM)josemendez Wrote: Hi,

We are unable to reproduce this. Make sure you're declaring to use the Obi namespace:

Code:
using Obi;

at the top of your scripts. If this isn't the cause, could you please share with us the errors you're getting?

Yep - all that done!
Did you try with 2019.3.12?

As soon switch from 2019.3.11 to 2019.3.12 get errors like:

Code:
/Assets/Obi/Samples/RopeAndRod/SampleResources/Scripts/RuntimeRopeGenerator.cs(25,25): Error CS0246: The type or namespace name 'ObiCollider' could not be found (are you missing a using directive or an assembly reference?) (CS0246)
 Confundido
What are you using for code editing? ( will try to update to latest Visual Studio )

The developer of Area 86 
https://simdevs.com
Reply
#4
Hi,

I don't get any errors when trying 2019.3.12 or 2020.1b. Is the ObiCollider.cs file present? Also, do you have any compiler errors prior to this one?
Reply
#5
No errors in the Unity editor!

Only when open Visual Studio to edit some code, then the errors start to show up when using Unity 2019.3.12.

P.S.
Still updating to the latest Visual Studio to see if that fixes the problem!
The developer of Area 86 
https://simdevs.com
Reply
#6
Hi,

Unable to reproduce this, sounds like a Visual Studio issue. It's weird that no errors show up in Unity, but do show up in Visual Studio. Sounds a bit like this?:
https://answers.unity.com/questions/1487...ual-s.html
Reply
#7
(01-05-2020, 01:53 PM)josemendez Wrote: Hi,

Unable to reproduce this, sounds like a Visual Studio issue. It's weird that no errors show up in Unity, but do show up in Visual Studio. Sounds a bit like this?:
https://answers.unity.com/questions/1487...ual-s.html

Installed the latest Visual Studio, still the same trouble - will stick to Unity 2019.3.11 for now!  Astuto
( have a feeling that this is some Unity bug )

Thanks for helping!
The developer of Area 86 
https://simdevs.com
Reply