Adding BulletAppState to statemanager throws error from native code