WebGL build failing Unity v5.2
Hello! In your browser, I get this error:
pre-main prep time: 1973 ms index.html:34:7
Invoking error handler due to
uncaught exception: TypeError: invalid arguments : jsStackTrace@http://localhost/Release/HTML5.js:1:21787
stackTrace@http://localhost/Release/HTML5.js:1:21970
FS.handleFSError@http://localhost/Release/HTML5.js:1:72174
_mmap@http://localhost/Release/HTML5.js:1:303249
lC@http://localhost/Release/HTML5.js:19:211446
_G@http://localhost/Release/HTML5.js:19:293799
mG@http://localhost/Release/HTML5.js:19:280230
VH@http://localhost/Release/HTML5.js:19:309586
Ct@http://localhost/Release/HTML5.js:19:83702
Ehb@http://localhost/Release/HTML5.js:14:1018350
$Oc@http://localhost/Release/HTML5.js:22:891164
callMain@http://localhost/Release/HTML5.js:31:49202
doRun@http://localhost/Release/HTML5.js:31:50029
run/<@http://localhost/Release/HTML5.js:31:50197
setTimeout handler*run@http://localhost/Release/HTML5.js:31:50122
runCaller@http://localhost/Release/HTML5.js:31:48501
removeRunDependency@http://localhost/Release/HTML5.js:1:28537
processPackageData@http://localhost/Release/fileloader.js:166:11
EventHandlerNonNull*fetchRemotePackage@http://localhost/Release/fileloader.js:70:7
loadPackage@http://localhost/Release/fileloader.js:82:1
@http://localhost/Release/fileloader.js:190:2
@http://localhost/Release/fileloader.js:11:2
What should I do? Please help. Translation using Google Translate
UPD: It seems that this error occurs only when the Internet connection. Iiz It follows that it is likely WWW.Class. I may be mistaken, this is only speculation. But who faced, help, please. Translation from gjvjom. Google translate, sorry.
please specify the export settings that you are using and the browser you are using. It could be due to data catching or memory size. please let us know more about your build so we can pin point the problem.
$$anonymous$$emory size. I tried: 2^n (64, 128,256,512) Browser Chrome and Firefox develop edition
Thank you for sharing your publishing settings. Try hosting it on Dropbox. A good trick is to copy the settings into an empty project and see if the error is still there. if not, it could be a shared or code in your project.
I'll update NGUI and I hope that this is the problem.
It seems that this error occurs only when the Internet connection. Iiz It follows that it is likely WWW.Class. I may be mistaken, this is only speculation. But who faced, help, please. Translation from gjvjom. Google translate, sorry.
Your answer
Follow this Question
Related Questions
Unity 2019.3.9f1 WebGL build error TypeLoadException when making release build 3 Answers
Build WEBGL Error in Unity 2019.3.3f1 1 Answer
white screen after build the game for WEBGL,white screen after building the game to WEBGL 0 Answers
Score counting works in editor but not when I build it! 0 Answers