Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iOS DllNotFoundException for empty project testing your examples iOS
#2
(08-07-2024, 02:12 PM)inacen Wrote: Just testing out your example scenes in empty iOS project in Unity 2022.3.36f1

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:883)
Obi.ObiSolver.AddActor (Obi.ObiActor actor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1148)
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,

As stated in the store description and the manual, Obi depends on the following packages: Burst, Collections, Jobs and Mathematics.
http://obi.virtualmethodstudio.com/manua...setup.html
http://obi.virtualmethodstudio.com/manua...html#burst

Failing to install these will cause Obi to attempt to fall back to a native library, which does not support the Apple Silicon architecture (among others):

Quote:Oni (deprecated): Oni is the legacy backend used in Obi 2.x - 4.x. It is a native library written in C++11, that comes precompiled for each platform. For this reason, only a few platforms are supported by it: Windows, Mac (Intel only, no Apple Silicon support), Linux, Android, iOS.

In these cases you'll receive the error message you've posted, as Unity attempts to find a compatible Dll for your platform but is unable to find one.

Installing the required dependencies will solve the issue.

Let me know if I can be of further help,

kind regards
Reply


Messages In This Thread
RE: iOS DllNotFoundException for empty project testing your examples iOS - by josemendez - 08-07-2024, 02:27 PM