UnityNativeCamera
UnityNativeCamera copied to clipboard
iOS TakePicture image having same name
If I call NativeCamera.TakeImage on iOS, it's always giving the same name file(CameraImg). Because of this the old file references are getting deleted. It's working file on android where I'm getting different file names
I can't remember the Android logic but I wouldn't actually be surprised to see the same logic as iOS. The returned image file is a temporary file in Application.temporaryCachePath. If you need to preserve it for future use, you have to copy it to Application.persistentDataPath with a unique name of your choice.