By satampratham
on Wed, 09/20/2017 - 06:34
Hi,
I have created unity plugin for android and using it in android application. AR detections and 3D rendering everything works fine. But for particular case with ARCamera I am facing following issues :
A. When ARCamera is paused
1. Android application in background and come back in forground then ARCamera background is lost and showing blank screen.
ARCamera Started==> ARCamera Paused==> Application Background ==> Application foreground ==> ARCamera black screen
Attached screenshots for reference
1. ARCamera Paused
2. Application background
3. Application foreground
Hello satampratham,
Hello satampratham,
What code are you using to pause the ARCamera? Are you doing this to because you need to run some code that requires Vuforia to not be running?
Thanks,
hi,
hi,
Please find the attached script which I am using to pause and resume the camera.
when application restarted means background to foreground the image(texture) has been lost. I want the same image on the camera screen.
Thanks
In our sample app, ther
In our sample app, the CameraSettings.cs script has the following function that properly stops and restarts Vuforia:
using Vuforia;
using Vuforia;
VuforiaRenderer.Instance.Pause(true);