Bug / Crash Unable to load DLL 'Oni'. - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: General (https://obi.virtualmethodstudio.com/forum/forum-5.html) +--- Thread: Bug / Crash Unable to load DLL 'Oni'. (/thread-4220.html) |
Unable to load DLL 'Oni'. - Rabidus_4k - 14-05-2024 Code: Unable to load DLL 'Oni'. Tried the load the following dynamic libraries: faced with the problem that unity is sending errors Stack trace I also checked Any Platform in Obi.asmdef as i build apk file. previously it worked fine! RE: Unable to load DLL 'Oni'. - josemendez - 14-05-2024 Hi, Oni is deprecated since v6.0, you should use Burst - specially if building for mobile devices. See: http://obi.virtualmethodstudio.com/manual/6.3/backends.html Regarding your error, it means Unity can't find the proper Oni native library for your target platform. Which platform are you building for? RE: Unable to load DLL 'Oni'. - Rabidus_4k - 14-05-2024 (14-05-2024, 04:14 PM)josemendez Wrote: Hi, As I mentioned above, the build is being built for Android, but in any case, the platforms have the check mark Any Platform asmdef file. In addition, this problem has not occurred before RE: Unable to load DLL 'Oni'. - josemendez - 14-05-2024 (14-05-2024, 05:38 PM)Rabidus_4k Wrote: As I mentioned above, the build is being built for Android, Hi, Then using Burst is a much better option, as it is considerably faster than Oni on mobile devices. This is the preferred solution. Quote:but in any case, the platforms have the check mark Any Platform asmdef file. In addition, this problem has not occurred before asmded files have nothing to do with this error. The error states a native library file isn’t found (or is not compatible with your target platform). Which backend are you using? Do you see any warnings in any of your ObiSolver component inspectors? In case you’re missing package dependencies, solvers will show a warning in the inspector and the system will try to fall back to Oni. You mentiones this hasn’t happened before, but before what? Have you recently updated either Unity, Obi, your target Android version…any difference that might explain why the native library file is not found? Kind regards |