comm=“UnityMain” reason=“memory violation” sig=11

my unity app does not crash on nexus 5.1.1 , and other android below 5.0 .

my unity app crash on android 5.0.1 , the log show ‘01-26 14:23:05.241: E/audit(6373): type=1701 msg=audit(1453789385.241:2288): auid=4294967295 uid=10129 gid=10129 ses=4294967295 subj=u:r:s_untrusted_app:s0 pid=9698 comm=“UnityMain” reason=“memory violation” sig=11’

my unity version is 4.6.2 .

does everyone know why throws this exception and crash ?

1 Answer

1

SIGSEGV 11 can be caused from a variety of different problems, but from what I’ve seen, it’s usually insufficient memory or related. The reason code also says memory violation, so that’s all the info you have to work from. So, when does the crash occur? Is it when the app is launching? Or is it after, when loading a specific scene? Either case, profile the app to see if anything sticks out. Make a test build that excludes some assets, such as audio or reduce texture quality and see if that stabilizes the app.