Vuforia SDK Version: 4.2.3 -
Description with steps to reproduce:
Before adding Vuforia I made an UI using unity's modern UI (with canvas and all objects on it). Works great unless you replace camera with Vuforia's camera.
It looked OK in the editor, but on the Android device in landscape it was scaledup, so only ~7/8 part of UI fits inside the screen. But in portrait mode it is vise versa, the canvas is scaled down to cover only ~7/8 part of the screen.
Now after fiddling I did realize, that UI behaves wierd in the editor. In the scene I see that UI canvas covers exactly 100% of camera frustrum. In the game it is scaled up, so I can see only ~7/8 part of it in camera.
This is very confusing.
How does the AR_camera works exactly? Or am I allowed to use Unitys modern UI? If no... Thats really bad.
-
Development OS (Mac OS X, Windows, Linux): Windows -
Mobile OS and Version: Android Jelly beans 4.1 -
Mobile Device Manufacturer and Model name: GoClever R 70 -
Do the Vuforia Sample Applications show the same behavior?: No They used different, a very complicated UI system. I would not like to use such.
@shekhar331 :
I will follow up on the bug report you created here:
https://developer.vuforia.com/forum/issues-and-bugs/canvas-rescales-ar-camera