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

2021.2 Main Scene Doesnt Load #22

Open
PrefixWiz opened this issue Jan 30, 2022 · 4 comments
Open

2021.2 Main Scene Doesnt Load #22

PrefixWiz opened this issue Jan 30, 2022 · 4 comments

Comments

@PrefixWiz
Copy link

PrefixWiz commented Jan 30, 2022

First, thank you and great job on the loader.

Im using 2021.2. The loading screen appears, but just hangs there forever. Is there a method that needs to bee called in order to get the main scene to load after the WebGL loader has completed d/loading?

After further looking into it, when im using a new template... the build doesn't generate the folder "TemplateData".

@PrefixWiz
Copy link
Author

My mistake. I was using 2019 package rather than 2020.

@bekiryanik
Copy link

bekiryanik commented May 18, 2022

Hello! I also have the same issue with the WebGL template. Could you fix it? If you had, could you please share the solution with me? By the way, I am using the latest package and Unity version is 2021.3 :)

@AndreFoxVR
Copy link

HI!
I am using 2021.2 as well and I keep getting the same error:

C:\Program Files\Unity\Hub\Editor\2021.2.0f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Preprocess.js:67
throw "Preprocessor error "" + e + "" occured in file "" + locals.inputPath + "" when evaluating expression "" + expression + """;
^
Preprocessor error "ReferenceError: HIDE_FULL_SCREEN_BUTTON is not defined" occured in file "C:/Users/Fox/Unity/Expo_Enap_R6/Assets/WebGLTemplates/Better2020/index.html" when evaluating expression " HIDE_FULL_SCREEN_BUTTON "
(Use node --trace-uncaught ... to show where the exception was thrown)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Is it fixable? I am totally noob in html :(

@greggman
Copy link
Owner

At the moment I'm unable to reproduce the issue.

Using with 2021.2.7f1
https://www.youtube.com/watch?v=-Fkw9HEAer8

Using with 2021.3.6f1
https://www.youtube.com/watch?v=bK6tQtIhDcg

Maybe try starting with a blank project like in the video and see if you still run into the issue? If not then maybe try adding in whatever other plugins/etc your using and maybe you can find the issue?

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

4 participants