Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unity 2021.2.14f1 .. should work?
#1
Loading Obi Softbody into a new project warns of obsolete API.
A lot of console errors.
Running examples is possible (no breaking code) but none of the sample scenes work for me.

Getting a lot of errors of this when I run a sample scene:
Code:
DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> member:(null)
Obi.OniColliderWorld.SetColliders (Obi.ObiNativeColliderShapeList shapes, Obi.ObiNativeAabbList bounds, Obi.ObiNativeAffineTransformList transforms, System.Int32 count) (at Assets/Obi/Scripts/Common/Backends/Oni/OniColliderWorld.cs:40)
Obi.ObiColliderWorld.UpdateWorld (System.Single deltaTime) (at Assets/Obi/Scripts/Common/Collisions/ObiColliderWorld.cs:388)
Obi.ObiUpdater.BeginStep (System.Single stepDeltaTime) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:56)
Obi.ObiFixedUpdater.FixedUpdate () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:46)

I am on a M1 Mac if that matters.

Is Obi softbody expected to run in Unity 2021.2?

Kind regards
Reply
#2
Hi there!

Follow the setup steps in the manual:
http://obi.virtualmethodstudio.com/manua...setup.html

Specifically, make sure to install the Burst backend dependencies. The fallback backend (Oni) will be used if these aren't installed, which is not compatible with the M1 architecture. Unity will try to look for a native library compiled with M1 support, and fail to find one, hence the DllNotFound exception.

Also see similar threads:
http://obi.virtualmethodstudio.com/forum...ghlight=M1
http://obi.virtualmethodstudio.com/forum...ghlight=M1
Reply