- Home /
WebGL Uncaught RangeError
I'm developing a game on webgl platform and I'm stuck in this error.
Uncaught RangeError: Source is too large : Error at jsStackTrace (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:1:22715) at stackTrace (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:1:22898) at Object.handleFSError (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:1:74268) at _write (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:1:170846) at bGE (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:28:523676) at kLE (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:28:628717) at lCs (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:20:962524) at Array.uCs (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:20:966890) at q5E (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:28:886141) at Array.JWv (blob:https://d2lcvq7omhyzpz.cloudfront.net/8e1837d8-15e4-423d-867c-f01504e95ce6:22:1022443).*
This error pops-up on the start of my game and I tried various solutions I found online. Your help is much appreciated. Thank you.
I am receiving the same error suddenly once I upgraded Unity from 5.3.1 to 5.4.1p2
Here is my extremely similar stack trace: Uncaught RangeError: Source is too large : Error at jsStackTrace (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:1:22715) at stackTrace (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:1:22898) at Object.FS.handleFSError (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:1:74264) at _write (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:1:170315) at NzF (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:41:1119160) at Array.CEF (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:71:92283) at Object.RuP [as dynCall_iiiiii] (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:77:359395) at invoke_iiiiii (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:1:362744) at Array.L7m (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:51:906319) at Object.$$anonymous$$tP [as dynCall_iiiiiiii] (blob:https%3A//localhost/ed9a6126-0cbf-4c46-87db-548b0eebe3e0:77:351320)
Answer by achimeno · Oct 25, 2016 at 05:11 PM
Same error with 5.4.2f2. Have you found any solution? @dev01definite @gregoryb
Invoking error handler due to
Uncaught RangeError: Source is too large : Error
at jsStackTrace (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:1056:12)
at stackTrace (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:1070:21)
at Object.handleFSError (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:3703:56)
at _write (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:5955:6)
at _fwrite (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:7747:21)
at Array.__ZN20LocalFileSystemPosix5WriteER13FileEntryDatayPvPy [LocalFileSystemPosix::Write(unsigned long long&, void*, unsigned long long*)] (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:2161294:20)
at __ZN12FileAccessor5WriteEyPKvPy [FileAccessor::Write(unsigned long long, void*, unsigned long long*)] (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:2382620:77)
at __ZN11UnityEngine15CloudWebService17SessionEventQueue10SaveToFileER12FileAccessor [UnityEngine::CloudWebService::SessionEventQueue::SaveToFile(FileAccessor?&)] (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:1236581:4)
at __ZN11UnityEngine15CloudWebService16SessionContainer7ArchiveEv [UnityEngine::CloudWebService::SessionContainer::Archive()] (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:673278:9)
at Array.__ZN11UnityEngine15CloudWebService19SessionEventManager37OnTimerExpiredPerformArchiveJobStaticEPv [UnityEngine::CloudWebService::SessionEventManager::OnTimerExpiredPerformArchiveJobStatic(void*)] (blob:https://www.luabingo.com/50096d7f-0171-492b-9129-0a3b964036b8:1945058:31)
I tried versions until I found the breaking point: 5.4.1f1 is the last working version. I have set up my build system to make our webGL builds using this version until Unity resolves this.