Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi fluid DllNotFound
#1
Hi, I've imported both Obi fluid and Obi softbody and I got this error in my console

DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> memberTristenull)
Obi.OniBackend.CreateSolver (Obi.ObiSolver solver, System.Int32 capacity) (at Assets/Obi/Scripts/Common/Backends/Oni/OniBackend.cs:17)
Obi.ObiSolver.Initialize () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:851)
Obi.ObiSolver.AddActor (Obi.ObiActor actor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1112)
Obi.ObiActor.AddToSolver () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:348)
Obi.ObiActor.OnEnable () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:323)
Reply
#2
(24-06-2022, 10:14 PM)Harutyun Wrote: Hi, I've imported both Obi fluid and Obi softbody and I got this error in my console

DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> memberTristenull)
Obi.OniBackend.CreateSolver (Obi.ObiSolver solver, System.Int32 capacity) (at Assets/Obi/Scripts/Common/Backends/Oni/OniBackend.cs:17)
Obi.ObiSolver.Initialize () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:851)
Obi.ObiSolver.AddActor (Obi.ObiActor actor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1112)
Obi.ObiActor.AddToSolver () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:348)
Obi.ObiActor.OnEnable () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:323)

Hi!

Just restart Unity. See our FAQ for details:
http://obi.virtualmethodstudio.com/faq.html

Also make sure to follow the setup instructions in the manual:
http://obi.virtualmethodstudio.com/manua...setup.html
Reply
#3
(25-06-2022, 07:31 AM)josemendez Wrote: Hi!

Just restart Unity. See our FAQ for details:
http://obi.virtualmethodstudio.com/faq.html

Also make sure to follow the setup instructions in the manual:
http://obi.virtualmethodstudio.com/manua...setup.html
Restarting does not help.

Also, I'm using URP, and most importantly using Apple Silicone Editor on M1 machine, may that cause these problems?
Reply
#4
(26-06-2022, 09:12 AM)Harutyun Wrote: Restarting does not help.

Also, I'm using URP, and most importantly using Apple Silicone Editor on M1 machine, may that cause these problems?

Hi!

The fallback library used in case you haven’t installed the required packages does not support the M1 architecture.

Make sure to install the required packages for the Burst backend, as explained in the setup instructions:
http://obi.virtualmethodstudio.com/manua...kends.html
Reply
#5
Ok I've installed all required packages, but now it gives me errors during runtime.

DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> memberTristenull)
Obi.ObiProfiler.DisableProfiler () (at Assets/Obi/Scripts/Common/Utils/ObiProfiler.cs:84)
Obi.ObiFixedUpdater.Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:65)
Reply
#6
(26-06-2022, 10:34 AM)Harutyun Wrote: Ok I've installed all required packages, but now it gives me errors during runtime.

DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> memberTristenull)
Obi.ObiProfiler.DisableProfiler () (at Assets/Obi/Scripts/Common/Utils/ObiProfiler.cs:84)
Obi.ObiFixedUpdater.Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:65)

The ObiProfiler component only works with the Oni(fallback) backend, as explained in the link I shared in the last post. If you’re using Burst you should just use Unity’s built in profiler sincr it has native integration.

Simply remove the ObiProfiler component from your scene, the error will go away.

Let me know if you need further help,
Reply
#7
Ok thanks, it worked.
Reply