Impossible to Get the current resolution on Android on Unity 4 (Work fine on Unity3)
OR
Bug report sended…
Impossible to Get the current resolution on Android on Unity 4 (Work fine on Unity3)
OR
Bug report sended…
I have find a way to fix that, Screen.resolution doesn’t work anymore when you declare it in Awake in Unity 4.
We encountered the same thing. Oddly enough when we changed:
to
The Screen numbers came out correctly. No idea why that would have any effect, but it did.
Screen.resolution returns 640x480 on my Samsung Galaxy Note in Unity 4 (should be 1280x800).
has anyone solved this issue on android devices?
I am getting the same bug. The editor displays my game on whatever resolution I choose, but on a 1024x600 device, the game shows in 640x480 only.