yasirkula/UnityNativeCamera

Taking multiple shots on iOS14.4 can crash the game

TastSong opened this issue · 2 comments

image
image

The game crashed after repeated shots, and the lower version of iOS didn't crash

If you aren't destroying the previously captured Texture when it isn't needed, perhaps your game runs out of memory? Try destroying previous Textures (if any) after a new photo is taken and don't forget to set a sufficiently low maxSize parameter.

thanks