Search Issue Tracker
Fixed in 2021.1.X
Votes
1
Found in
2018.4
2020.1.3f1
2020.2
Issue ID
1274295
Regression
No
[WebGL][Android] WebGL Fullscreen ignores dpi on Android Chrome
Reproduction steps:
1. Open the attached project "testPackage.zip"
2. In the Project window under "Assets/Scenes" open "SampleScene.unity" and switch to WebGL Platform
3. Build for WebGL
4. Create a server using this "python -m http.server" command in the Command Prompt
5. Navigate to the built WebGL page on your Android device using your IPV4 address
Expected result: WebGL Fullscreen does not ignore dpi on Android Chrome
Actual result: WebGL Fullscreen ignores dpi on Android Chrome (See attached Results.png)
Reproduces on: 2018.4.28f1, 2019.4.12f1, 2020.1.8f1, 2020.2.0b7
Notes:
-Deleting this line "config.devicePixelRatio = 1;" in "Index.html" does not solve the issue, additionally the background becomes black
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Marks4
Oct 08, 2020 17:00
You mean found in version "2020.1.4f1", not "2020.1.3f1". I reported the issue using 2020.1.4f1.