Help Building Obi Fluid on Magic Leap - 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: Help Building Obi Fluid on Magic Leap (/thread-3610.html) |
Building Obi Fluid on Magic Leap - farzb123 - 07-10-2022 I'm working on a AR project in unity that requires fluid simulation and I have recently come across your asset "Obi fluids". I was able to build the project using Vuforia on my mobile and was able to see the liquid simulation, however as I tried to build it for my magic leap device, the project doesn't get built. I came across this post (http://obi.virtualmethodstudio.com/forum/showthread.php?tid=868) in your forum and tried out the suggestion posed there, however I got 30+ namesspace errors while trying to build it to my device. I am not sure how to fix this issue. Could you please guide me on how I can deploy it on my Magic leap device as this is really needed in my project. Your help would be greatly appreciated.Awaiting your quick response. Thanks in advance [attachment=1515] [attachment=1514] RE: Building Obi Fluid on Magic Leap - josemendez - 10-10-2022 (07-10-2022, 08:43 PM)farzb123 Wrote: I'm working on a AR project in unity that requires fluid simulation and I have recently come across your asset "Obi fluids". Hi! Obi has 2 available physics backends: Burst (default) and Oni (fallback). The Oni backend is used when the required Burst dependencies aren't installed, but is only compatible with Windows, macOS, iOS and Android as stated in the asset description in the store. This is because it consists of several precompiled libraries, one per platform: checking Unity's checkboxes in the library inspector will just tell Unity to include them in builds for that platform, but won't automagically make them compatible with other platforms, they need to be specifically compiled for those. It's like changing the extension of an .exe file to .bundle: that won't make it compatible with Macs. Magic Leap is based on Lumin OS, which turns out is not the exact same as Android. So just asking Unity to include the Android libs in the build won't work. Not sure how the original poster in the thread you linked ever got this to work. If you need compatibility with other platforms, the simplest solution is to install the required Burst dependency packages as explained in the manual and use the Burst backend: http://obi.virtualmethodstudio.com/manual/6.3/setup.html http://obi.virtualmethodstudio.com/manual/6.3/backends.html |