Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Fluid Not Showing in Mac Build
#6
(28-02-2022, 08:18 PM)coopal00ps Wrote: When I run the game using Burst, I get the following error:
"System.IndexOutOfRangeException: Index {0} is out of range of '{1}' Length.

Another user reported this recently. This seems to be a bug in Unity 2020, since it's the only version where we've been able to reproduce it. Should work fine in 2021.2.7.

(28-02-2022, 08:18 PM)coopal00ps Wrote: 1. Is it worth it to get Burst working? My thinking is that Burst might enable fluids to render on my mac, but I could be wrong.
2. If Burst is worth fixing, what is the cause of the error?

Burst is generally a bit more efficient than Obi, specially on mobile platforms. However, Oni should work fine too and unless you're deploying to mobiles the difference will be negligible. Only cause that I can think of for it not working in your builds is that it is just not being included in the build. Select Obi/Plugins/libOni.bundle and make sure it's marked as included in Standalone builds, and x64 Mac architecture (these are the default settings):

[Image: xtBRjBy.png]

let me know how it goes,
Reply


Messages In This Thread
RE: Obi Fluid Not Showing in Mac Build - by josemendez - 01-03-2022, 08:54 AM