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
- Crash on memcpy when importing lightmaps after GI bake
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
- [Linux] Player crash on Shader::SRPBatcherInfoSetup when opening player build
- [Android] FPS does not match the targeted FPS when it is set with Application.targetFrameRate
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of 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/