nhn / socket.io-client-unity3d

socket.io-Client for Unity3D, which is compatible with socket.io v1.x
Other
167 stars 42 forks source link

unity webSocketInstances is not defined,ReferenceError: webSocketInstances is not defined #25

Closed panshengneng closed 5 years ago

panshengneng commented 7 years ago

exception thrown: ReferenceError: webSocketInstances is not defined,ReferenceError: webSocketInstances is not defined at SocketCreate (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:66:17) at _SocketCreate (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :2834:40) at Array._SocketCreatewrapper (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4574286:10) at Object.ftCall_ii [as dynCall_ii] (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6706:46) at invoke_ii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6693:31) at _WebSocketWrapper_SocketCreate_m903007767 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :3435391:8) at Array.asm._WebSocketWrapper_SocketCreate_m903007767 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4249361:57) at Object.ftCall_iiii [as dynCall_iiii] (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6910:48) at invoke_iiii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6897:33) at _WebSocketWrapper_ConnectInternal_m3637984849 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :3829692:7) at Array.asm._WebSocketWrapper_ConnectInternal_m3637984849 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4522643:61) at Object.ftCall_viii [as dynCall_viii] (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6502:48) at invoke_viii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6489:26) at _WebSocketWrapper_Connect_m829512760 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :3299268:5) at Array.asm._WebSocketWrapper_Connect_m829512760 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4440089:52) at Object.ftCall_vii [as dynCall_vii] (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :5958:47) at invoke_vii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :5945:25) at Array._U3CInitCoreU3Ec__Iterator0_MoveNext_m2591192826 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :259158:18) at mftCall_iii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4191259:100) at ZN21InterfaceFuncInvoker0IbE6InvokeEjP11Il2CppClassP12Il2CppObject (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :3293660:9) at Array.asm.ZN21InterfaceFuncInvoker0IbE6InvokeEjP11Il2CppClassP12Il2CppObject (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4253837:84) at Object.ftCall_iiii [as dynCall_iiii] (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6910:48) at invoke_iiii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6897:33) at Array._SetupCoroutine_InvokeMoveNext_m2975616245 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :2668840:10) at mftCall_viiii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4165159:39) at Z53RuntimeInvoker_Void_t1841601450_Il2CppObject_IntPtrtPK10MethodInfoPvPS2 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4125827:2) at Array.asm.Z53RuntimeInvoker_Void_t1841601450_Il2CppObject_IntPtrtPK10MethodInfoPvPS2 (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4523999:94) at Object.ftCall_iiii [as dynCall_iiii] (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6910:48) at invoke_iiii (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :6897:33) at ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :3939572:8) at _il2cpp_runtime_invoke (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4161323:9) at asm._il2cpp_runtime_invoke (eval at loadDynamicLibrary (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:781:19), :4341179:38) at _il2cpp_runtime_invoke (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:11640:42) at Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2517991:8) at ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:1790861:7) at ZN9Coroutine14InvokeMoveNextEP21ScriptingExceptionPtr (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2039567:2) at ZN9Coroutine3RunEPb (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2235390:7) at ZN9Coroutine17ContinueCoroutineEP6ObjectPv (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2611278:8) at mftCall_iii (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2662614:98) at __ZN18DelayedCallManager6UpdateEi (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:1040236:33) at mftCall_vii (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2664628:37) at ZZ23InitPlayerLoopCallbacksvEN44UpdateScriptRunDelayedDynamicFrameRatestruct7ForwardEv (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2665861:2) at mftCall_v (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:2699014:35) at Z10PlayerLoopv (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:771322:14) at ZL8MainLoopv (blob:http://localhost/2faeed81-e8d1-4561-88a1-e55ddd8cf2c1:1992203:3) at Array.UnityLoader.873d35c852dfa40f9f7c2e481511bec7.asm.__ZL8MainLoopv (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:197895:29) at Object.ftCall_v [as dynCall_v] (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:29779:28) at browserIterationFunc (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:3089:23) at Object.runIter (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:3192:5) at Browser_mainLoop_runner (blob:http://localhost/71106806-6a35-4454-ad6b-5c83fb187a2d:3127:20)

ppz0th commented 6 years ago

@panshengneng I'm sorry that my response is too late. anyway your call stack it seems like you're working on WebGL?? If that so, we're working on it. we already have the issue with running on WebGL mode.