Vuforia camera ignoring culling mask on main camera(Application.CaptureScreenshot())

Unity : 5.1.1
Vuforia : 4.2.3
Device Filter : Android FAT(AR Mv 7+x 86)

Can someone please confirm that the Vuforia simply ignores the mask layer that we used on the main camera ?( Application.CaptureScreenshot() )

camera.cullingMask & = ~ (1 << LayerMask.NameToLayer (layerName));

This code runs, but If the Application.CaptureScreenshot () are all represented.
Help Me


source

cameraManager.CameraHideLayer(cameraManager.ARCamera, “Invisible”);
yield return new WaitForEndOfFrame();
Application.CaptureScreenshot(fileName);

This problem did not happen in Vuforia 4.0.105
This problem did not happen in Development Build.

I solved this problem in the following ways:
cameraManager.CameraHideLayer(cameraManager.ARCamera, “Invisible”);
yield return new WaitForEndOfFrame();
yield return null;
yield return null;
yield return null;
Application.CaptureScreenshot(fileName);
yield return new WaitForEndOfFrame();