CPU access for textures with MTLResourceStorageModePrivate storage mode is disallowed.'

Viewed 659

I have a login page on my app. If I lock my screen and change orientation of the app, when I unlock the phone again my app crashes. In my xCode debugger this error pops up.

_validateGetBytes:29: failed assertion `CPU access for textures with MTLResourceStorageModePrivate storage mode is disallowed.'

enter image description here

How can I fix this error?
I'm using MapBox in my app.

0 Answers
Related