- Home /
Trouble isolating IOS runtime error UnityPreload (41): EXC_BAD_ACCESS(code-1, address=0x20)
How do i go about isolating what is causing this issues to arise?
This is happening on the iPhone and happens just after i load an AssetBundle and load a scene. I get a log for successfully loading the scenes root gameobject.
The previous scene is unloaded as well.
I understand that the EXC_BAD_ACCESS is usually a null pointer reference exception but i don't know how to narrow it down to find where that null point is.
Everything works fine in the Unity IDE, just not on the phone.
Ok So i've made some progress following the Developer guidlines here. https://docs.unity3d.com/Manual/MobileCrashes.html
Has something to do with stripping code, though i thought i had addressed that already.
hm. i'd suggest stripping your app down to just the smallest possible situation which reproduces the problem, and then filing a bug to Unity.
Your answer
![](https://koobas.hobune.stream/wayback/20220612110251im_/https://answers.unity.com/themes/thub/images/avi.jpg)