This is my code. This application request permission about ‘external storage write’ at first, and when the user click the ‘captureButton’, it will take a screenshot and save the image in DCIM/Screenshots.
This is logcat in Unity. I can see that Debug.Log(“Have permission”) is called. So it means that this application has permission about ‘external storage write’. Also in Application Settings in my mobile phone(android), i can see that this application has permission about external storage. But why can’t I write
a file in external storage???
And in Unity, Player Settings - Other Settings - Write Permission is ‘External (SD Card)’
Any comment and advice will be very helpful. Thank you!