unity-game-engineaspect

(Unity)Game view and smartphone view are different


In the game view, it appears horizontally as expected, but in the smartphone view, it appears vertically. I do not know what is the problem. How to fix?(My smartphone has 1080 x 2400 pixels, 20:9 ratio screen)

[Unity game view] enter image description here

[My smartphone]

enter image description here


Solution

  • Setting the orientation to landscape only should work