Unity 5.6 Not implemented: Class::FromIl2CppType and others

@Marco-Trivellato @jonas-echterhoff_1

Without any code change I simply upgrade it from 5.5 to 5.6 and this happens. Particularly when loading multiple files it seems:

Not implemented: Class::FromIl2CppType

UnityLoader.js:1 exception thrown: RangeError: Maximum call stack size exceeded,RangeError: Maximum call stack size exceeded

AND MULTIPLE ERRORS OF:

at b7v (blob:http://{MY_DOMAIN}/12547096-2780-4d82-9aa0-aaf548cc1b32:25:219467)

Edit: I have published a development build and I have more info but I don’t understand anything. In that method only assigns a value to a Dictionary.

Invoking error handler due to
Uncaught Assertion failed: klass, at: C:\Program Files\Unity560\Editor\Data\il2cpp\libil2cpp\vm\Class.cpp,1454,Init at Error
at jsStackTrace (Publish_Editor.asm.framework.unityweb:1154:12)
at stackTrace (Publish_Editor.asm.framework.unityweb:1168:11)
at ___assert_fail (Publish_Editor.asm.framework.unityweb:10323:207)
at __ZN6il2cpp2vm5Class4InitEP11Il2CppClass (Publish_Editor.asm.code.unityweb:2135346:11)
at _Dictionary_2_set_Item_m1004257024_gshared (Publish_Editor.asm.code.unityweb:1133087:2)
at _GoogleAnalyticsMPV3_SetTrackerVal_m1658040469 (Publish_Editor.asm.code.unityweb:2440809:2)
at _GoogleAnalyticsV4_SetOnTracker_m3951055237 (Publish_Editor.asm.code.unityweb:2509653:2)
at _GoogleAnalyticsV4_InitializeTracker_m4043814436 (Publish_Editor.asm.code.unityweb:1662651:3)
at _GoogleAnalyticsV4_LogEvent_m2776759460 (Publish_Editor.asm.code.unityweb:1966420:2)

Edit 2: I have commented GAnalytics code (to test it out if that was the only crashing code) and I have another error involving my code that I don’t understand:

Uncaught Assertion failed: klass, at: C:\Program Files\Unity560\Editor\Data\il2cpp\libil2cpp\vm\Class.cpp,1454,Init at Error
at jsStackTrace (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1811:12)
at stackTrace (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1825:11)
at ___assert_fail (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:14699:207)
at ___assert_fail (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :3142:41)
at __ZN6il2cpp2vm5Class4InitEP11Il2CppClass [il2cpp::vm::Class::Init(Il2CppClass*)] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :1126375:11)
at __ZN6il2cpp2vm4Type15GetNameInternalERNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEPK10Il2CppType20Il2CppTypeNameFormatb [il2cpp::vm::Type::GetNameInternal(std::__2::basic_string<char, std::__2::char_traits, std::__2::allocator >&, Il2CppType const*, Il2CppTypeNameFormat, bool)] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :118155:4)
at Array.asm.__ZN6il2cpp2vm4Type15GetNameInternalERNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEPK10Il2CppType20Il2CppTypeNameFormatb [il2cpp::vm::Type::GetNameInternal(std::__2::basic_string<char, std::__2::char_traits, std::__2::allocator >&, Il2CppType const*, Il2CppTypeNameFormat, bool)] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :1841114:155)
at Object.ftCall_viiii [as dynCall_viiii] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :7300:49)
at invoke_viiii (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :7287:27)
at __ZN6il2cpp2vm4Type7GetNameEPK10Il2CppType20Il2CppTypeNameFormat [il2cpp::vm::Type::GetName(Il2CppType const*, Il2CppTypeNameFormat)] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :1243364:2)
at Array.asm.__ZN6il2cpp2vm4Type7GetNameEPK10Il2CppType20Il2CppTypeNameFormat [il2cpp::vm::Type::GetName(Il2CppType const*, Il2CppTypeNameFormat)] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :1948526:80)
at Object.ftCall_viii [as dynCall_viii] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :8235:48)
at invoke_viii (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :8222:26)
at __ZN6il2cpp2vm5Class40GetInterfaceInvokeDataFromVTableSlowPathEPK12Il2CppObjectPK11Il2CppClassj [il2cpp::vm::Class::GetInterfaceInvokeDataFromVTableSlowPath(Il2CppObject const*, Il2CppClass const*, unsigned int)] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :241730:8)
at __ZN21InterfaceFuncInvoker1IP24ImageSettings_t705778644iE6InvokeEjP11Il2CppClassP12Il2CppObjecti [InterfaceFuncInvoker1<ImageSettings_t705778644*, int>::Invoke(unsigned int, Il2CppClass*, Il2CppObject*, int)] (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :870538:34)
at _UICarouselItem_SetData_m1841271310 (eval at loadDynamicLibrary (blob:http://{MY_DOMAIN}/c5711202-c489-47a9-935f-49addbf379a3:1252:19), :634259:21)

1 Like

Can you submit a bug report for this issue and let me know the number? It looks like a bug in Unity.

@JoshPeterson I am also getting this same issue. Didn’t change any code, just updated from 5.5 to 5.6 and now the webgl build seems to crash when using dictionary methods. In my case, dictionary.ContainsKey:

With development mode disabled and enable explicitly thrown exceptions, I get the errors

Not implemented: Class::FromIl2CppType
exception thrown: InternalError: too much recursion

With development mode enabled and enable explicitly thrown exceptions, I get the error

Invoking error handler due to
uncaught exception: Assertion failed: klass->initialized, at: C:\Program Files\Unity\Editor\Data\il2cpp\libil2cpp\vm/Class.h,97,GetInterfaceInvokeDataFromVTable at jsStackTrace (WebGL3.asm.framework.unityweb:1154:12)
stackTrace (WebGL3.asm.framework.unityweb:1168:11)
___assert_fail (WebGL3.asm.framework.unityweb:9964:207)
__ZN21InterfaceFuncInvoker1IiP12Il2CppObjectE6InvokeEjP11Il2CppClassS1_S1_ (WebGL3.asm.code.unityweb:2859055:1)
_Dictionary_2_ContainsKey_m3321918434_gshared (WebGL3.asm.code.unityweb:2666756:1)
_AssetBundleResourceCache_CacheResourceAssetBundle_m2835470934 (WebGL3.asm.code.unityweb:3233848:1)
_UIWebGL_SetupScreen_m2478191775 (WebGL3.asm.code.unityweb:3392073:1)
_UIScreen_Setup_m3275491796 (WebGL3.asm.code.unityweb:1239695:1)
_Action_Invoke_m3801112262 (WebGL3.asm.code.unityweb:3323420:1)
_UIScreen_TransitionScreen_m621329541 (WebGL3.asm.code.unityweb:4221473:1)
_UIScreen_OnEnable_m1313152307 (WebGL3.asm.code.unityweb:2070086:1)
__Z31RuntimeInvoker_Void_t1841601450PK10MethodInfoPvPS2_ (WebGL3.asm.code.unityweb:4183113:1)
dynCall_iiii (WebGL3.asm.code.unityweb:4216415:1)
invoke_iiii (WebGL3.asm.framework.unityweb:17849:10)
__ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (WebGL3.asm.code.unityweb:3400237:1)
_il2cpp_runtime_invoke (WebGL3.asm.code.unityweb:3961848:1)
__Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (WebGL3.asm.code.unityweb:3634793:1)
__ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (WebGL3.asm.code.unityweb:2294683:1)
__ZN13MonoBehaviour12AddToManagerEv (WebGL3.asm.code.unityweb:1971475:1)
__ZN9Behaviour13AwakeFromLoadE17AwakeFromLoadMode (WebGL3.asm.code.unityweb:3530976:1)
__ZN13MonoBehaviour13AwakeFromLoadE17AwakeFromLoadMode (WebGL3.asm.code.unityweb:1349845:1)
__ZN18AwakeFromLoadQueue19InvokeAwakeFromLoadEPNS_4ItemEj17AwakeFromLoadMode (WebGL3.asm.code.unityweb:2371978:1)
__ZN18AwakeFromLoadQueue13AwakeFromLoadE17AwakeFromLoadModeb (WebGL3.asm.code.unityweb:2604968:1)
__Z29AwakeAndActivateClonedObjectsPP6ObjectRK10vector_mapIiiNSt3__24lessIiEE13stl_allocatorINS3_4pairIiiEEL18MemLabelIdentifier1ELi16EEE (WebGL3.asm.code.unityweb:1672382:1)
__Z11CloneObjectR6ObjectR9Transformb (WebGL3.asm.code.unityweb:2226584:1)
__Z44Object_CUSTOM_Internal_CloneSingleWithParentP12Il2CppObjectS0_h (WebGL3.asm.code.unityweb:2849455:1)
_Object_Internal_CloneSingleWithParent_m665572246 (WebGL3.asm.code.unityweb:3964027:1)
_Object_Instantiate_m2489341053 (WebGL3.asm.code.unityweb:3116558:1)
_Object_Instantiate_TisIl2CppObject_m1736742113_gshared (WebGL3.asm.code.unityweb:3484622:1)
_Object_Instantiate_TisIl2CppObject_m681991875_gshared (WebGL3.asm.code.unityweb:3625607:1)
_FungusSetup_InstantiatePersistentBehaviourRoot_m1118860393 (WebGL3.asm.code.unityweb:3209199:1)
_FungusSetup_SpawnPersistentInstance_TisIl2CppObject_m893077100_gshared (WebGL3.asm.code.unityweb:2662717:1)
_PersistentBehaviour_LoadPersistentInstance_m3553135435 (WebGL3.asm.code.unityweb:1885459:1)
_FungusBehaviour_LoadPersistentBehaviour_m69275606 (WebGL3.asm.code.unityweb:3108152:1)
_MemberAction_Invoke_m1052879655 (WebGL3.asm.code.unityweb:3190980:1)
_ReflectionUtilities_PerformActionOnAllSerializedMembersThatMeetConditionInternal_m3481778890 (WebGL3.asm.code.unityweb:447922:1)
_ReflectionUtilities_PerformActionOnAllSerializedMembersThatMeetConditionInternal_m3481778890 (WebGL3.asm.code.unityweb:448453:1)
_ReflectionUtilities_PerformActionOnAllSerializedMembersThatMeetCondition_m1109717084 (WebGL3.asm.code.unityweb:3797565:1)
_FungusBehaviour_LoadFields_m3532606956 (WebGL3.asm.code.unityweb:3282412:1)
_FungusBehaviour_LoadPersistentBehaviours_m84263841 (WebGL3.asm.code.unityweb:3150440:1)
_EventHandler_Awake_m2049750076 (WebGL3.asm.code.unityweb:4173348:1)
__Z31RuntimeInvoker_Void_t1841601450PK10MethodInfoPvPS2_ (WebGL3.asm.code.unityweb:4183113:1)
dynCall_iiii (WebGL3.asm.code.unityweb:4216415:1)
invoke_iiii (WebGL3.asm.framework.unityweb:17849:10)
__ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (WebGL3.asm.code.unityweb:3400237:1)
_il2cpp_runtime_invoke (WebGL3.asm.code.unityweb:3961848:1)
__Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (WebGL3.asm.code.unityweb:3634793:1)
__ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (WebGL3.asm.code.unityweb:2294683:1)
__ZN19ScriptingInvocation13InvokeCheckedEP21ScriptingExceptionPtr (WebGL3.asm.code.unityweb:3336735:1)
__ZN13MonoBehaviour9CallAwakeEv (WebGL3.asm.code.unityweb:2031484:1)
__ZN13MonoBehaviour12AddToManagerEv (WebGL3.asm.code.unityweb:1971443:1)
__ZN9Behaviour13AwakeFromLoadE17AwakeFromLoadMode (WebGL3.asm.code.unityweb:3530976:1)
__ZN13MonoBehaviour13AwakeFromLoadE17AwakeFromLoadMode (WebGL3.asm.code.unityweb:1349845:1)
__ZN18AwakeFromLoadQueue28InvokePersistentManagerAwakeEPNS_4ItemEj17AwakeFromLoadMode (WebGL3.asm.code.unityweb:2246996:1)
__ZN18AwakeFromLoadQueue30PersistentManagerAwakeFromLoadEv (WebGL3.asm.code.unityweb:3185850:1)
__ZN18LoadSceneOperation21CompleteAwakeSequenceEv (WebGL3.asm.code.unityweb:2749393:1)
__ZN18LoadSceneOperation25PlayerLoadSceneFromThreadEv (WebGL3.asm.code.unityweb:1022375:1)
__ZN18LoadSceneOperation19IntegrateMainThreadEv (WebGL3.asm.code.unityweb:1960741:1)
__ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsEi (WebGL3.asm.code.unityweb:1538673:1)
__ZN14PreloadManager35WaitForAllAsyncOperationsToCompleteEv (WebGL3.asm.code.unityweb:3376944:1)
__ZN19RuntimeSceneManager9LoadSceneERKN4core12basic_stringIcNS0_20StringStorageDefaultIcEEEES6_S6_RK9UnityGUIDiNS_11LoadingModeE (WebGL3.asm.code.unityweb:3335783:1)
__Z21PlayerStartFirstSceneb (WebGL3.asm.code.unityweb:1289076:1)
__Z20PlayerLoadFirstSceneb (WebGL3.asm.code.unityweb:2812071:1)
_main (WebGL3.asm.code.unityweb:1109079:1)
e1de26b65cd4c6f177e308050deb8670 [UnityLoader.e1de26b65cd4c6f177e308050deb8670/asm._main] (WebGL3.asm.framework.unityweb:19654:9)
callMain (WebGL3.asm.framework.unityweb:21075:13)
doRun (WebGL3.asm.framework.unityweb:21112:40)
run (WebGL3.asm.framework.unityweb:21124:3)
runCaller (WebGL3.asm.framework.unityweb:21052:28)
removeRunDependency (WebGL3.asm.framework.unityweb:1490:4)
UnityLoader.e1de26b65cd4c6f177e308050deb8670/</unityFileSystemInit</<@blob:null/61daf64d-fe03-4042-b387-32c8b2d6d272:11:4
doCallback (WebGL3.asm.framework.unityweb:6175:11)
done (WebGL3.asm.framework.unityweb:6186:5)
done (WebGL3.asm.framework.unityweb:5308:12)
e1de26b65cd4c6f177e308050deb8670 [UnityLoader.e1de26b65cd4c6f177e308050deb8670/IDBFS.storeLocalEntry] (WebGL3.asm.framework.unityweb:5226:3)
UnityLoader.e1de26b65cd4c6f177e308050deb8670/IDBFS.reconcile/</<@blob:null/61daf64d-fe03-4042-b387-32c8b2d6d272:5319:6
e1de26b65cd4c6f177e308050deb8670 [UnityLoader.e1de26b65cd4c6f177e308050deb8670/IDBFS.loadRemoteEntry/req.onsuccess] (WebGL3.asm.framework.unityweb:5245:4)

A bug report with a repro project is the best way to go. Thanks!

Hello. I got this bug too in my game. There is stacktrace log_internal @ lib-100fc9e20e87d7e2facca1740bf8881cab85f77d6419bfbbb6978f25f8383 - Pastebin.com and there is code which called dictionary implementation: using System.Collections.Generic;public class MPDictionary<TKey, TValue> : D - Pastebin.com (line 15, and key wasn’t NULL). Please help with solve this crash. It is not 100% repeatable, but I don’t like that game will crash some times when it will call this code.

@gregory-tkach

Can you submit a bug report with the project that causes this issue? I think we will need that to investigate it.

Hi there,
I got an error that looks like the previous one, with WEBGL in unity 2017.1.0f3.

Not implemented: Class::FromIl2CppType
UnityLoader.js:523 Invoking error handler due to
Uncaught Assertion failed: klass, at: /Applications/Unity/Unity.app/Contents/il2cpp/libil2cpp/vm/Class.cpp,1459,Init at Error
at jsStackTrace (WebGL.asm.framework.unityweb:1481:12)
at stackTrace (WebGL.asm.framework.unityweb:1495:11)
at ___assert_fail (WebGL.asm.framework.unityweb:14358:207)
at ___assert_fail (eval at loadDynamicLibrary (blob:3390:41)
at __ZN6il2cpp2vm5Class4InitEP11Il2CppClass [il2cpp::vm::Class::Init(Il2CppClass*)] (eval at loadDynamicLibrary (blob:1072622:11)
at __ZN6il2cpp2vm4Type15GetNameInternalERNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEPK10Il2CppType20Il2CppTypeNameFormatb [il2cpp::vm::Type::GetNameInternal(std::__2::basic_string<char, std::__2::char_traits, std::__2::allocator >&, Il2CppType const*, Il2CppTypeNameFormat, bool)] (eval at loadDynamicLibrary (blob:122553:4)
at Array.asm.__ZN6il2cpp2vm4Type15GetNameInternalERNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEPK10Il2CppType20Il2CppTypeNameFormatb [il2cpp::vm::Type::GetNameInternal(std::__2::basic_string<char, std::__2::char_traits, std::__2::allocator >&, Il2CppType const*, Il2CppTypeNameFormat, bool)] (eval at loadDynamicLibrary (blob:1661480:155)
at Object.ftCall_viiii [as dynCall_viiii] (eval at loadDynamicLibrary (blob:7053:49)
at invoke_viiii (eval at loadDynamicLibrary (blob:7040:27)
at __ZN6il2cpp2vm4Type7GetNameEPK10Il2CppType20Il2CppTypeNameFormat [il2cpp::vm::Type::GetName(Il2CppType const*, Il2CppTypeNameFormat)] (eval at loadDynamicLibrary (blob:1171409:2)
at Array.asm.__ZN6il2cpp2vm4Type7GetNameEPK10Il2CppType20Il2CppTypeNameFormat [il2cpp::vm::Type::GetName(Il2CppType const*, Il2CppTypeNameFormat)] (eval at loadDynamicLibrary (blob:1754474:80)
at Object.ftCall_viii [as dynCall_viii] (eval at loadDynamicLibrary (blob:7801:48)
at invoke_viii (eval at loadDynamicLibrary (blob:7788:26)
at __ZN6il2cpp2vm5Class40GetInterfaceInvokeDataFromVTableSlowPathEPK12Il2CppObjectPK11Il2CppClassj [il2cpp::vm::Class::GetInterfaceInvokeDataFromVTableSlowPath(Il2CppObject const*, Il2CppClass const*, unsigned int)] (eval at loadDynamicLibrary (blob:226083:8)
at _ZN21InterfaceFuncInvoker1IiP12Il2CppObjectE6InvokeEjP11Il2CppClassS1_S1 [InterfaceFuncInvoker1<int, Il2CppObject*>::Invoke(unsigned int, Il2CppClass*, Il2CppObject*, Il2CppObject*)] (eval at loadDynamicLibrary (blob:851785:34)
at _Dictionary_2_set_Item_m4126366741_gshared (eval at loadDynamicLibrary (blob:546935:7)
at _WWW_get_responseHeaders_m3601905552 (eval at loadDynamicLibrary (blob:813499:4)
at Array.asm._WWW_get_responseHeaders_m3601905552 (eval at loadDynamicLibrary (blob:1714772:52)
at Object.ftCall_iii [as dynCall_iii] (eval at loadDynamicLibrary (blob:7716:47)
at invoke_iii (eval at loadDynamicLibrary (blob:7703:32)
at Array._U3CExecuteBundleRequestU3Ec__Iterator5_MoveNext_m2420888151 (eval at loadDynamicLibrary (blob:88731:9)
at mftCall_iii (eval at loadDynamicLibrary (blob:1391845:100)
at __ZN21InterfaceFuncInvoker0IbE6InvokeEjP11Il2CppClassP12Il2CppObject [InterfaceFuncInvoker0::Invoke(unsigned int, Il2CppClass*, Il2CppObject*)] (eval at loadDynamicLibrary (blob:861242:9)
at Array._SetupCoroutine_InvokeMoveNext_m210462675 (eval at loadDynamicLibrary (blob:901624:21)
at mftCall_viiii (eval at loadDynamicLibrary (blob:1340548:39)
at _Z53RuntimeInvoker_Void_t707318217_RuntimeObject_IntPtr_tPFvvEPK10MethodInfoPvPS4 [RuntimeInvoker_Void_t707318217_RuntimeObject_IntPtr_t(void ()(), MethodInfo const, void*, void**)] (eval at loadDynamicLibrary (blob:1228466:2)
at Array.asm._Z53RuntimeInvoker_Void_t707318217_RuntimeObject_IntPtr_tPFvvEPK10MethodInfoPvPS4 [RuntimeInvoker_Void_t707318217_RuntimeObject_IntPtr_t(void ()(), MethodInfo const, void*, void**)] (eval at loadDynamicLibrary (blob:1774868:99)
at Object.ftCall_iiiii [as dynCall_iiiii] (eval at loadDynamicLibrary (blob:6271:49)
at invoke_iiiii (eval at loadDynamicLibrary (blob:6258:34)
at __ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException [il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**)] (eval at loadDynamicLibrary (blob:1068232:8)
at _il2cpp_runtime_invoke (eval at loadDynamicLibrary (blob:1330272:9)
at asm._il2cpp_runtime_invoke (eval at loadDynamicLibrary (blob:1709762:38)
at _il2cpp_runtime_invoke (WebGL.asm.framework.unityweb:11780:42)
at __Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (WebGL.asm.code.unityweb:2647403:8)
at __ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (WebGL.asm.code.unityweb:1888511:7)
at __ZN9Coroutine14InvokeMoveNextEP21ScriptingExceptionPtr (WebGL.asm.code.unityweb:2140919:2)
at __ZN9Coroutine3RunEPb (WebGL.asm.code.unityweb:2352704:7)
at __ZN9Coroutine17ContinueCoroutineEP6ObjectPv [Array.__ZN9Coroutine17ContinueCoroutineEP6ObjectPv] (WebGL.asm.code.unityweb:2744945:8)
at mftCall_iii (WebGL.asm.code.unityweb:2795975:98)
at __ZN18DelayedCallManager6UpdateEi [Array.__ZN18DelayedCallManager6UpdateEi] (WebGL.asm.code.unityweb:1106672:33)
at mftCall_vii (WebGL.asm.code.unityweb:2798046:37)
at __ZZ23InitPlayerLoopCallbacksvEN49UpdateScriptRunDelayedDynamicFrameRateRegistrator7ForwardEv [Array.__ZZ23InitPlayerLoopCallbacksvEN49UpdateScriptRunDelayedDynamicFrameRateRegistrator7ForwardEv] (WebGL.asm.code.unityweb:2689893:2)
at mftCall_v (WebGL.asm.code.unityweb:2833397:35)
at __Z10PlayerLoopv (WebGL.asm.code.unityweb:812004:14)
at __ZL8MainLoopv (WebGL.asm.code.unityweb:2103363:3)
at __ZL8MainLoopv [Array.UnityLoader.3c522cefad0e7ab8996b2a0be785ef8c.asm.__ZL8MainLoopv] (WebGL.asm.framework.unityweb:204212:29)
at ftCall_v [Object.ftCall_v] (WebGL.asm.framework.unityweb:29980:28)
at browserIterationFunc (WebGL.asm.framework.unityweb:3206:23)
at runIter [Object.runIter] (WebGL.asm.framework.unityweb:3309:5)
at Browser_mainLoop_runner (WebGL.asm.framework.unityweb:3244:20)

Any suggestion?

1 Like

@nfmelendez : Can you submit a bug report for this issue? I don’t think that we have been able to reproduce it internally yet.

ok. done.

Thanks!

1 Like

Hi more on this:

I have found that when doing:
Hash128 manifestHash = assetInfo.BundleManifest.GetAssetBundleHash(assetInfo.BundleName);
request = [WWW.LoadFromCacheOrDownload(assetInfo.FullBundlePath](http://WWW.LoadFromCacheOrDownload(assetInfo.FullBundlePath), manifestHash);

then in
string status = null;
request.responseHeaders.TryGetValue (“STATUS”, out status);

i get the error inside request.responseHeaders.

So my guess is that the problem is when you get a stored asset bundle from the cache, it doesn’t have the response headers, so it doesn’t behave like an “abstraction of a response” hiding if you get form cache or internet.

For my use case in webgl, to download everything from internet again and again is a no go.

Do you have a workaround to this? anyone having the same problem?

oh, just to have all the information, the bug in issue tracker number id 938618

thanks for the bug report.

two quick comments:

  • the bug report does not have a repro project
  • this is your private link, I suggest posting only bug numbers.

Sorry was the first time i was publishing a bug report and accidentally i unchecked the option to send the project . should i send another bug report? or how can i update this one.

updated the issue link to number only in the forum reply

No worries. I think you can reply to the confirmation email attaching a zipped project, alternatively you can just submit a new bug report if it’s easier for you.

One more question about project upload. It upload the code? i work for a company, i don’t think they want to disclose the code.

Yes, it will upload the code as well. Ideally you should make a small project that reproduces the same bug. If that’s not possible, then you upload the whole project. Of course Unity will keep it confidential but the company you work for need to be OK with that.

Ok, i think the problem here in this post: Data caching on Unity 5.6 is not working - Unity Engine - Unity Discussions

is the same i am having, that happens in the cache of the asset bundle.

Has there been an update on this? I am also seeing these issues on 2017.1.0f3 as well as a “GetInterfaceInvokeDataFromVTable” exception.

Has there been any progress on this? We are also experiencing this issue.