- Home /
Question by
anietog1 · May 01, 2020 at 05:52 AM ·
camera-movementvuforiaaugmented reality
vuforia ar camera screen position out of view frustum
I followed the advise of https://blogs.unity3d.com/2017/11/16/dealing-with-scale-in-ar/ and put my Vuforia ARCamera under an object with different scale to avoid scaling my content. So the structure is the following.
AR Root [scale: 10 10 10 10]
AR Camera [scale: 0.1 0.1 0.1]
It works fine at first: the camera looks nice and it tracks the target perfectly. However, once the target is lost it looks like the camera just doesn't know where to go and I get the following errors:
ARCamera trying to set position to {NaN, NaN, NaN}
Screen position out of view frustum
Unity crashes, sometimes
Please tell me if you have any idea what's happenning. I just ran out of ideas and I cant find any simpler way to deal with the scale problem in my AR program. Thanks!
Comment