EXC_BAD_ACCESS - PersistentManager - IL2CPP LoadAsset - Unity 5.5.0p2

When trying to load an ScriptableAsset from an AssetBundle I’m receiving a EXC_BAD_ACCESS when using il2cpp (works with Mono2x).

I am currently using the latest available Unity version that I know of (Unity-5.5.0p2)

It also fails when trying to run

_bundle.LoadAllAssets();

Any known solution / workaround?

Ps:

  • Using an iPhone 6 - iOS 10.1.1 (14B100)
  • Xcode 8.2 (8C38)
  • It does work under Android with il2cpp


Workaround found - It works fine when Strip Engine Code is disabled.

Bug Reported - 864082

1 Like