Forum Discussion
MrFlo666
5 years agoExplorer
Take a screenshot
Hi,
I develop for Oculus Quest on Unity 2019.3.8f1.
I want to take a screenshot when my user push a button on the right controller.
To do the "screenshot" part, I use the following line :
I develop for Oculus Quest on Unity 2019.3.8f1.
I want to take a screenshot when my user push a button on the right controller.
To do the "screenshot" part, I use the following line :
ScreenCapture.CaptureScreenshot(Path.Combine(Application.persistentDataPath, "screenshot.jpg"));
This one work on Unity Editor, not on the Quest. I've put some debug so I'm sure this code is called. Just when I go in the right folder (with SideQuest), my file is not there.
Can someone help me ?
Thanks.
Can someone help me ?
Thanks.
1 Reply
- JaimelugoHonored Guesthello! - did you find a solution for this?
I used something similar for the Pico VR and it did indeed saved but I was only able to see the pictures from within the headset "library".
my issue was that the picture didnt really work.. it was all black..
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device