Every once in a while the video in Unity play mode stops working. I get these errors:
Screen position out of view frustum (screen pos 487.000000, 140.000000) (Camera rect 0 0 821 337)
UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32, Int32)ReadPixels was called to read pixels from system frame buffer, while not inside drawing frame.UnityEngine.Texture2D:ReadPixels(Rect, Int32, Int32, Boolean)WebCamImpl:GetPixels32AndBufferFrame(Int32) (at Assets/Qualcomm Augmented Reality/Scripts/Internal/WebCamImpl.cs:244)QCARManagerImpl:InjectCameraFrame() (at Assets/Qualcomm Augmented Reality/Scripts/Internal/QCARManagerImpl.cs:448)QCARManagerImpl:Update(ScreenOrientation) (at Assets/Qualcomm Augmented Reality/Scripts/Internal/QCARManagerImpl.cs:192)QCARBehaviour:Update() (at Assets/Qualcomm Augmented Reality/Scripts/QCARBehaviour.cs:417)Trying to read pixel out of boundsThis doesn't work to fix it:-Re-import vuforia-unity-android-ios-2-0-30.unitypackage-Go in to the library folder in your project structure and deleted ALL the sub directories:
* cache
* metadata
* ScriptAssemblies-Restart computerThis does work to fix it:-Export my project to a unitypackage, import in a new project and then import vuforia-unity-android-ios-2-0-30.unitypackageThis fix is not suitable for my production as I simply cannot make a new project from scratch every time this bug shows up.Any chance of fixing this?
Not sure what version of Vuforia - is there a way to check this in the unity editor?
I don't think so, but you can find the PostProcessBuildPlayer script in Assets/Editor and it should have a date of July 2013 for the latest.
N