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
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
- "Problem detected while importing the Prefab file" errors on Learning Templates import
- Crash on RaiseException during Socket.BeginConnect in Player when application connection is blocked through commercial firewall
- Decal Projector produces artifacts when the normal and decal are projected in negative z-direction and Normal Blend is set to 1
- Undoing slider field change only resets slider position, doesn't undo the value change
- Precision changes when a tangent is added to a Vertex node
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/