Search Unity

[WebGL][Android] Black Screen When CANVAS HEIGHT EXCEEDS a number

Discussion in 'Web' started by Arch-Soong, Mar 1, 2022.

  1. Arch-Soong

    Arch-Soong

    Joined:
    Apr 23, 2015
    Posts:
    3
    Hi,

    I am currently building a WebGL application with Unity.

    I tested with Android Chrome and it appeared to be Black Screen in Portrait mode, while normal when turn to Landscape mode.

    We tested a few setting and discover that WHEN THE CANVAS HEIGHT EXCEEDS A SIZE will result in this case, and we found out that iOS does not have such problem, only android chrome currently. current problem:
    1) building settings canvas height is 1920 will blackscreen no matter in portrait or landscape
    2) portrait mode black screen because canvas height exceeds a number

    Any idea where I should look into ? or some workaround suggestion ?