Log in or register to post comments

UI incorrectly positioned on AR Camera

October 25, 2018 - 8:09am #1

Vuforia SDK Version: 7.0.50 -

Description with steps to reproduce: Hi, I'm experiencing an issue rendering a canvas with render mode set to "Screen Space - Camera" with a Vuforia AR camera. The UI ends up positioned slightly off center meaning the input of a rear camera is visible in the bottom left corner. I am wondering if anyone has seen something like this before? My canvas and AR camera are more or less on default settings except for canvas scaling. This only seems to happen on mobile (or at least on my Galaxy S8). In the editor there is only a 1-2 pixel wide gap at the top which I would assume amounts to rounding issues. Pics of the UI and settings can be viewed here https://imgur.com/a/erTX6Hi

Thanks -

Development OS (Mac OS X, Windows, Linux): Mac OS X -

Mobile OS and Version: Android 8.0.0 -

Mobile Device Manufacturer and Model name: Samsung Galaxy S8 -

Do the Vuforia Sample Applications show the same behavior?: Not tested

UI incorrectly positioned on AR Camera

October 26, 2018 - 2:30am #3

Yep the modal and underlying background gameobjects are both stretched and pinned horizontally and vertically to the edges. I do not see the issue in the editor if I use free aspect and resize it. I feel like it might be related to the fact my phone has a 18.5:9 aspect ratio. I will try forcing the app into 16:9 and I have a feeling that it won't happen.

Edit: Nope looks exactly the same at 16:9

UI incorrectly positioned on AR Camera

October 25, 2018 - 11:20am #2

I have not seen this, but I don't use Camera Screen Space too often.  Are you sure you have that background image set to stretch both horizontally and vertically and pinned to the edges?  Do you see the issue if you change your game editor tab to free aspect and resize it around?  My gut says this not Vuforia related and is an issue with your set up but hard to tell without seeing your full hierarchy.

Log in or register to post comments