Resolution and fullscreen switch at runtime

I am trying to use Screen.SetResolution but it doesn’t seem to work (neither changing the resolution nor the fullscreen state) on the UWP builds of my App (works fine on Desktop target).

Is there anything special to take into account for UWP ? I see there are way less options on the PlayerSettings when it comes to Resolution and Presentation options.

Thanks,

It should work just fine. The only limitation is that it can only have the effect when your game is in focus (it won’t work if the game is minimized).

Can you show the code and describe exactly what happens?