I’ve built WebGL from Unity fine in the past (pre 5.5), but now any build that I try to run in the browser errors out while loading (in snippets below).
I’ve tested by creating a new blank project, saving the default scene, switching to WebGL as the target and hitting “build and run.” I get the same errors - in both Chrome and Firefox - using Unity 5.5.1f1. (I also get the same errors if I load the project through http-server via node.) I’ve tried stopping the engine stripping, just in case there was something essential being stripped accidentally, but no dice. Any help or debugging steps to try would be appreciated - thanks!
OS info: Windows 10, 64-bit, WebGL 2.0 capable graphics card
Chrome 56.0.2924.87
Firefox 51.0.1
UnityLoader.js:3545 run() called, but dependencies remain, so not running
Module.printErr @ UnityLoader.js:3545
run @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18812
(anonymous) @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18900
missing function: _ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_
Module.printErr @ UnityLoader.js:3545
__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_ @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:9843
__ZN10KeyWrapperINSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEC2ERKS7_ @ blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:2039058
__ZN14dense_hash_mapI10KeyWrapperINSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEP11Il2CppClassN6il2cpp5utils11StringUtils12StringHasherIS7_EENS1_8equal_toIS8_EENS5_INS1_4pairIKS8_SA_EEEEE13set_empty_keyERSJ_ @ blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1808763
dynCall_vii @ blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:2110862
invoke_vii @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:15801
__ZN13Il2CppHashMapINSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEP11Il2CppClassN6il2cpp5utils11StringUtils12StringHasherIS6_EENS0_8equal_toI10KeyWrapperIS6_EEENS4_INS0_4pairIKSG_S8_EEEEEC2EjRKSD_RKSH_ @ blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1485635
dynCall_viiii @ blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:2084391
invoke_viiii @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:15769
__ZN19Il2CppMetadataCacheC2Ev @ blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1793777
__GLOBAL__sub_I_MetadataCache_cpp @ blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1790235
asm.__GLOBAL__sub_I_MetadataCache_cpp @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:17558
func @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:1644
callRuntimeCallbacks @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:971
ensureInitRuntime @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:995
doRun @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18823
(anonymous) @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18838
setTimeout (async)
run @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18834
runCaller @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18769
removeRunDependency @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:1188
(anonymous) @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:10
doCallback @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:5750
done @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:5761
done @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4883
storeLocalEntry @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4801
(anonymous) @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4894
IDBFS.loadRemoteEntry.req.onsuccess @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4820
IndexedDB (async)
loadRemoteEntry @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4818
(anonymous) @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4892
reconcile @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4890
(anonymous) @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4658
IDBFS.getRemoteSet.IDBFS.getDB.index.openKeyCursor.onsuccess @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4746
IndexedDB (async)
IDBFS.getRemoteSet.IDBFS.getDB.index.openKeyCursor.onsuccess @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4755
IndexedDB (async)
(anonymous) @ blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:4743
IDBFS.getDB.req.onsuccess
Uncaught abort(-1) at Error
at jsStackTrace (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:859:12)
at stackTrace (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:873:11)
at abort (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18880:43)
at __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_ [std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >::basic_string(std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > const&)] (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:9844:2)
at __ZN10KeyWrapperINSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEC2ERKS7_ [KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > >::KeyWrapper(KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > const&)] (blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:2039058:2)
at Array.__ZN14dense_hash_mapI10KeyWrapperINSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEP11Il2CppClassN6il2cpp5utils11StringUtils12StringHasherIS7_EENS1_8equal_toIS8_EENS5_INS1_4pairIKS8_SA_EEEEE13set_empty_keyERSJ_ [dense_hash_map<KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > >, Il2CppClass*, il2cpp::utils::StringUtils::StringHasher<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > >, std::__2::equal_to<KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > >, std::__2::allocator<std::__2::pair<KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > const, Il2CppClass*> > >::set_empty_key(KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > const&)] (blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1808763:2)
at Object.dynCall_vii (blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:2110862:31)
at invoke_vii (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:15801:24)
at Array.__ZN13Il2CppHashMapINSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEP11Il2CppClassN6il2cpp5utils11StringUtils12StringHasherIS6_EENS0_8equal_toI10KeyWrapperIS6_EEENS4_INS0_4pairIKSG_S8_EEEEEC2EjRKSD_RKSH_ [Il2CppHashMap<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> >, Il2CppClass*, il2cpp::utils::StringUtils::StringHasher<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > >, std::__2::equal_to<KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > >, std::__2::allocator<std::__2::pair<KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > const, Il2CppClass*> > >::Il2CppHashMap(unsigned int, il2cpp::utils::StringUtils::StringHasher<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > const&, std::__2::equal_to<KeyWrapper<std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char> > > > const&)] (blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1485635:2)
at Object.dynCall_viiii (blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:2084391:33)
at invoke_viiii (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:15769:26)
at __ZN19Il2CppMetadataCacheC2Ev [Il2CppMetadataCache::Il2CppMetadataCache()] (blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1793777:2)
at __GLOBAL__sub_I_MetadataCache_cpp (blob:http://127.0.0.1:8080/6d288545-f4ec-434c-9f7d-888586f2dab5:1790235:2)
at asm.__GLOBAL__sub_I_MetadataCache_cpp (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:17558:48)
at func (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:1644:3)
at callRuntimeCallbacks (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:971:4)
at ensureInitRuntime (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:995:2)
at doRun (blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18823:3)
at blob:http://127.0.0.1:8080/83add0c6-a5e0-4a4c-b807-e0939116d8be:18838:4
