webproject - adjustable resolution

Hi,

is there any chance how can unity get screen resolution of the device? I dont mean screen.width and screen.height, it doest work.

I have web application done in unity3D - furniture configurator on my website and I need from unity to set resolution depening on screen res of the device

Does Display.displays[0].systemHeight give you the value you’re expecting, or is it still the same value as Screen.height?

See: Can you get a users screen size/resolution using javascript? - Stack Overflow

Then use JS to web player communication to push the value to your game.