Obi Official Forum
Obi fluid DllNotFound - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html)
+--- Thread: Obi fluid DllNotFound (/thread-3503.html)



Obi fluid DllNotFound - Harutyun - 24-06-2022

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)


RE: Obi fluid DllNotFound - josemendez - 25-06-2022

(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/manual/6.3/setup.html


RE: Obi fluid DllNotFound - Harutyun - 26-06-2022

(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/manual/6.3/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?


RE: Obi fluid DllNotFound - josemendez - 26-06-2022

(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/manual/6.3/backends.html


RE: Obi fluid DllNotFound - Harutyun - 26-06-2022

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)


RE: Obi fluid DllNotFound - josemendez - 26-06-2022

(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,


RE: Obi fluid DllNotFound - Harutyun - 26-06-2022

Ok thanks, it worked.