Hi, I'm having trouble saving a full sized screenshot. I'm able to save the screenshot in two different ways: Capture the screen width and height using a texture. This call works fine for ML1 and other platforms:
ScreenCapture.CaptureScreenshot(savePath);
The file is written, but it always writes it as 69 bytes with a 1x1 pixel on ML2
That call is not supported on ML2 because for Android Unity uses the app "Window" to execute screen capture but that window is not generated in the ML2 OS. To get a screen capture from ML2 inside Unity, please use the MLCamera API from our ML2 Unity SDK Package to do an image capture. You can reference the Camera Capture example scene from the Unity Examples package also available on ML Hub to get started.
Another potential option would be to use Device Stream from within the ML Hub menus, capturing a screenshot from your host OS via the incoming RTSP stream window.