All you post is your game so it was easy to find but basically 2 things are fighting.
Unity for web has a set canvas size, you need to make sure your html supports the correct size.
Second your game camera will scale based on a view or canvas size so you should look at making your game more robust in setting up it's screen space behavior
2
u/digimbyte May 19 '26
All you post is your game so it was easy to find but basically 2 things are fighting.
Unity for web has a set canvas size, you need to make sure your html supports the correct size.
Second your game camera will scale based on a view or canvas size so you should look at making your game more robust in setting up it's screen space behavior