So i wrote my code down and attached it to a gui texture, when i hit the gui, code works and game is like gets paused for a very short time that i get the impression that is working, but then nothing happens. I looked everywhere where the screenshot might be at but no success, it doesn’t save it! As it says in the script reference, “On mobile platforms the filename is appended to the persistent data path.”, but i cannot find it? Why? I also checked that write on sd card tick on the player>other settings but no success yet.Please help me,point me put what should i do?
CaptureScreenshot actually does save the captured image as a .png.
/storage/emulated/0/Android/data/com.XXXX.XXX
Maybe my answer on this post can help you:
I tried this code on a galaxy tab, GS3,GS4, also on a Nokia D3. although the save file paths may be different it works.
if so, please mark this as an aswer.
Hope it helps.