Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Android Stability Issues
#2
(11-10-2017, 08:23 AM)mimarilker Wrote: Fluid solid interaction is not performed on Android, particle ignores the geometry. The first line of particles get attached each-other instantly. I get jittering and strange results during simulation, so do you have any solution for that? Btw, the same app in any iphone device work flawless without any failure.

Hi there,


It recently came to our attention that there's a bug in Mono/IL2CPP that causes misaligned memory accesses in android. The result is a silent null reference in Mono that results in incorrect contact handling, and a crash in IL2CPP.

The (temporary) workaround we found is to comment lines: 202, 252, 260 of /Obi/Scripts/Oni.cs. They all look like this:
[StructLayout(LayoutKind.Sequential, Pack = 1)]

Turns out that when packing structs in certain Android devices, the compiler aligns the struct members to a memory address that is invalid in ARM architectures. Let us know if this workaround works for you.


cheers!
Reply


Messages In This Thread
Android Stability Issues - by mimarilker - 11-10-2017, 08:23 AM
RE: Android Stability Issues - by josemendez - 11-10-2017, 08:52 AM
RE: Android Stability Issues - by mimarilker - 11-10-2017, 10:25 AM
RE: Android Stability Issues - by josemendez - 11-10-2017, 12:20 PM