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
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
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/