- Home /
WebGL build gets stuck.
To try WebGL build on Unity 5, I created a simple project with a scene that only has a camera. The build doesn't go beyond "convert and compile scripting files"
Anybody else has this issue?
Yep. Same problem. I did a bit more than you and added a cube to the scene - I figured I wouldn't really know if it worked without having something actually to see in the scene. OH! Wow! It just moved on to "Native Compile to JS"! So I guess it hangs for ~10 $$anonymous$$utes on that. Weird, because I have it set to fast builds... I wonder how slow a slow build is... It moved again after another $$anonymous$$ute and it's now gzipping... And done. It opened in Safari. But there's nothing to see. Oh! Loading! It loaded! I see a cube! Yay!
Thanks for the colorful account of your experience. I tried the same empty project on a 4-year old $$anonymous$$acBook and it went through the same steps as you described. $$anonymous$$y PC is much more powerful, but I have to shut down the build because it overheats. Strangely enough, the $$anonymous$$acBook stays cool.
I'm seeing the exact same behaviour, stuck on convert and compile scripting files. This is for a real project with 4 scenes and maybe 2 dozen scripts + a plugin. I was able to build the project to WebGL fine on my desktop Windows 7 computer. Now on $$anonymous$$acBook pro it hangs and I can't spot any progress.
It actually completes build on my $$anonymous$$acBook, but not on my Windows 7 machine! In any case, there's a reason why it's called "preview".
Answer by tanyanzhi · Jul 16, 2015 at 02:54 PM
I encounter the same problem, but after I build it on a new high performance computer,it done! So I think it is just a very slow process, you need to wait it done.
I A$$anonymous$$ TRYING WITH UNITY 5.3 AND IT DOESN'T WOR$$anonymous$$ IT GETS STUC$$anonymous$$ ON NATIVE CO$$anonymous$$PILE TO JS BUT IT USED TO WOR$$anonymous$$ ON UNITY 5.2? CAN ANYONE HELP
Your answer

Follow this Question
Related Questions
Unity5.1 released android game is Gfx. Waitforpresent value is very high 1 Answer
horizontal layout with relatively sized children 0 Answers
How to solve the error "Failed to store screen shot" in Android 1 Answer
My Animation Keeps Looping [Unity 5] 1 Answer
How do I use iTween in Update function in unity 5? 0 Answers