Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on Unity 2020.1.8f1 #14

Open
fkorsa opened this issue Oct 9, 2020 · 3 comments
Open

Compilation error on Unity 2020.1.8f1 #14

fkorsa opened this issue Oct 9, 2020 · 3 comments

Comments

@fkorsa
Copy link

fkorsa commented Oct 9, 2020

Hi,

Building for WebGL with the better template 2020 does not compile. The error is that HIDE_FULL_SCREEN_BUTTON is not defined.

Thanks for a very cool template!

@greggman
Copy link
Owner

I'm not sure how to help. I just tried it and it worked for me. Any ideas how I can repo the issue?

Here's a screenshot just loading the project in this repo, then build and run webgl

eD5ZThjwVy

You can see it's unity 2020.1.8f1, there are no errors in the build, the webgl build is running and there are no errors in the browser.

Then I set hide full screen button to 1

MKb6T8lQyU

and that worked too, no errors, fullscreen button is gone.

Any ideas how I can repo your issue?

@fkorsa
Copy link
Author

fkorsa commented Oct 13, 2020

I just noticed in Git after closing Unity that my project settings were modified, the HIDE_FULL_SCREEN_BUTTON variable was somehow added to the settings. After starting Unity again the issue does not show anymore.

I'm guessing that variable was not yet added when I tried to build - I'm not sure what added it actually. Do you know?

In any case, we can also just close this issue. It's likely actually a bug in Unity itself.

Thanks for your help and time!

@tomaszwozniak123
Copy link

Found solution: you need to go to Player settings, and manually select template again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants