lz7cjc
October 20, 2021, 3:35pm
1
Hi
Apologies for the lack of detail but I don’t know where to start
I have a fully functioning scene but have recently added a basic HUD to control the player. When I run the scene in editor it works fine but when I load onto my phone the HUD doesn’t appear.
HUD
Inspector
I have checked the obvious; that it is the same scene by editing another object and this is reflected when I load on my phone. But no sign of the HUD
Any ideas how I can track down the problem?
thanks
It is likely a scaling / aspect ratio thing and can be addressed by tweaking your UI.
Here are some notes on UI Anchoring, Scaling, CanvasScaler, etc:
https://discussions.unity.com/t/845782/4
https://discussions.unity.com/t/848795/5
lz7cjc
October 20, 2021, 8:20pm
3
Thanks but this is in 3d (Google cardboard) is that still relevant?
lz7cjc:
is that still relevant?
Can’t imagine why it would not be! It’s the same UI system, it’s a screen, it behaves according to well-defined rules.
lz7cjc
October 21, 2021, 11:46am
5
thanks - reduced the canvas size and that seemed to fix it
1 Like