Question by
jkelly_unity51 · May 20, 2020 at 03:00 AM ·
webglpixeldepth
WebGl and Screen.dpi.ToString()
I'm struggling with WebGL and Screen.dpi.ToString().
If I run it in the Unity Editor (tried 2019.3.14f1 tonight, been in 2019.3.3 and 2019.3.13 before) I get values greater than 0. Android app? greater than 0. But every time I push it to the WebGL I get 0. I read that this is fixed, but I'm absolutely stumped as to how I'm approaching this wrong. Seems pretty simple to just call it and place it as a value. Is there something else I need to do to get a pixel depth in WebGL?
Comment