Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2018.1.X

Votes

0

Found in

2018.1.0b3

Issue ID

988292

Regression

Yes

[WebGL] fullscreen behaviour changed and needs setting change in Standalone options to work

WebGL

-

-e: see title, new settings for standalone fullscreen got introduced and they effect WebGL too
--works in 2017.3, starts not working in 2018.1a1

-repro:
--create a new project in latest 2018.1
--add script that does:

if (Input.GetKeyDown(KeyCode.F))
{
Screen.fullScreen = !Screen.fullScreen;
}

--build & run for WebGL
--click into scene and press F
--NOTICE fullscreen isn't triggered

--Workaround:
--in Standalone Player settings switch from "Fullscreen Window" to "Exclusive Fullscreen"
--save project
--rebuild & run WebGL
--click into scene and press F
--notice fullscreen is triggered

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.