Search Unity

Resolved [URGENT] Can't make game fill all available space

Discussion in 'Web' started by Marks4, Jul 10, 2020.

  1. Marks4

    Marks4

    Joined:
    Feb 25, 2018
    Posts:
    547
    If I try to resize the game to fill all available space on the screen, the game goes black. I tried messing with the unityContainer div and the #canvas canvas, to no avail. Now, I am aware there is a free webgl template on the asset store, but it doesn't work. Fullscreen button isn't an option because it doesn't work on iPhone. And I also know that if I turn the phone to landscape mode it works, but I need to do this in portrait. Attached is a gif showing the problem. Thank you for your time!
     

    Attached Files:

    Last edited: Jul 10, 2020
  2. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    589