Full Screen Toggle will not work.

This Full screen toggle will not work. I have looked a lot of places and i see no reason why this wouldn’t work. The method is called, i know because of the debug.log, But the game always stays in full screen and doesn’t change. The UI toggle has the method assigned as a dynamic bool. Here is the code that matters.

public void SetFullscreen(bool isFullscreen){
        Screen.fullScreen = isFullscreen;

Please help

Are you perhaps trying this in the editor? The application can only be fullscreen if you build it.