Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X
Votes
3
Found in
2017.3.0f1
Issue ID
977579
Regression
No
[WebGL] Canvas Size/Resolution will not scale in browser when using Linear color space
How to reproduce:
1. Create new project
2. Switch platform to WebGL and set "Colour Space" to Linear
3. Build
4. Open build project on browser and inspect WebGL player
5. In Inspector, open body -> div -> div -> Canvas and change width and height
Actual result: When using the linear colour space option in the player settings of a WebGL build, the <canvas> element is not resized/scalable. However, with the Gamma option, it is.
Reproduced with: 2017.2.1p2, 2017.3.0p2, 2018.1.0b3
Tested on Chrome and Firefox
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
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
OChrisJonesO
Jan 25, 2018 14:49
Still not fixed, but I have found a workaround. See: https://forum.unity.com/threads/canvas-size-resolution-will-not-scale-when-using-linear-color-space.508476/