🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

fidelsoto

1
Posts
1
Topics
A member registered 33 days ago

Recent community posts

(Edited 1 time)

Found the error. 

It should be ScreenCapture.CaptureScreenshot(filename);

not ScreenCapture.CaptureScreenshot(screenshotPath);

because "On mobile platforms the filename is appended to the persistent data path."

https://docs.unity3d.com/2017.1/Documentation/ScriptReference/ScreenCapture.Capt...

(Edited 3 times)

Everything works fine on the editor but when compiled to an android device the form doesn't open. I could've sworn it opened before. Now it seems like it can't create a screenshot. Any tips?