Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

WebGL Build Error

Discussion in 'Unity 5 Pre-order Beta' started by asifoncue, Feb 26, 2015.

  1. asifoncue

    asifoncue

    Joined:
    Dec 8, 2014
    Posts:
    12
    When doing a test build of my game, I'm getting an error that is keeping the game from opening on the web page.

    My build settings are set to Slow optimization level, dev build, profiler is autoconnected, explicitly thrown exceptions only. Here's what I get in my Chrome JS console:

    Code (JavaScript):
    1. run() called, but dependencies remain, so not runninglocalhost/:33 Module.printErr
    2. localhost/:33 pre-main prep time: 993 mslocalhost/:33 Module.printErr
    3. localhost/:29 PlayerConnection initialized from  (debug = 0)
    4. localhost/:29 Connecting directly to [172.22.4.119]...
    5. localhost/:29 Initialize engine version: 5.0.0f3 (b472b25463a4)
    6. localhost/:29 Renderer: WebKit WebGL
    7. localhost/:29 Vendor:   WebKit
    8. localhost/:29 Version:  WebGL 1.0 (OpenGL ES 2.0 Chromium)
    9. localhost/:29 GLES:     0
    10. localhost/:29 ANGLE_instanced_arrays GL_ANGLE_instanced_arrays EXT_blend_minmax GL_EXT_blend_minmax EXT_frag_depth GL_EXT_frag_depth EXT_shader_texture_lod GL_EXT_shader_texture_lod EXT_sRGB GL_EXT_sRGB EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic WEBKIT_EXT_texture_filter_anisotropic GL_WEBKIT_EXT_texture_filter_anisotropic OES_element_index_uint GL_OES_element_index_uint OES_standard_derivatives GL_OES_standard_derivatives OES_texture_float GL_OES_texture_float OES_texture_float_linear GL_OES_texture_float_linear OES_texture_half_float GL_OES_texture_half_float OES_texture_half_float_linear GL_OES_texture_half_float_linear OES_vertex_array_object GL_OES_vertex_array_object WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc WEBKIT_WEBGL_compressed_texture_s3tc GL_WEBKIT_WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_debug_shaders GL_WEBGL_debug_shaders WEBGL_depth_texture GL_WEBGL_depth_texture WEBKIT_WEBGL_depth_texture GL_WEBKIT_WEBGL_depth_tex
    11. localhost/:29 ture WEBGL_draw_buffers GL_WEBGL_draw_buffers WEBGL_lose_context GL_WEBGL_lose_context WEBKIT_WEBGL_lose_context GL_WEBKIT_WEBGL_lose_context
    12. localhost/:29 Creating OpenGLES2.0 graphics device
    13. :50588/Development/LessonWebTest.js:10268 The referenced script on this Behaviour is missing!
    14.  
    15.  
    16. :50588/Development/LessonWebTest.js:10273 read: defaultDt
    17.  
    18.  
    19. :50588/Development/LessonWebTest.js:10264 dtReader_CSharpXML.LoadFromResource Error in File: defaultDt
    20.  
    21.  
    22. :50588/Development/LessonWebTest.js:10273 cmFactory.tryFindConfiguration - no server.conf found in:
    23. http://localhost:50588/server.conf
    24.  
    25.  
    26.  
    27.  
    28.  
    29. localhost/:33 missing function: pthread_createlocalhost/:33 Module.printErr
    30. localhost/:29 -1
    31. localhost/:33 -1
    32. localhost/:33 warning: a problem occurred in builtin C++ name demangling; build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demanglinglocalhost/:33 Module.printErr
    33. UnityConfig.js:74 Invoking error handler due to
    34. Uncaught abort() at Error
    35.     at jsStackTrace (http://localhost:50588/Development/LessonWebTest.js:1000:13)
    36.     at stackTrace (http://localhost:50588/Development/LessonWebTest.js:1017:22)
    37.     at abort (http://localhost:50588/Development/LessonWebTest.js:4481567:25)
    38.     at _pthread_create (http://localhost:50588/Development/LessonWebTest.js:13841:59)
    39.     at __ZN6il2cpp2os10ThreadImpl3RunEPFvPvES2_ [il2cpp::eek:s::ThreadImpl::Run(undefined?F?*, void, void*)] (http://localhost:50588/Development/LessonWebTest.js:81941:9)
    40.     at Array.__ZN6il2cpp2os6Thread3RunEPFvPvES2_ [il2cpp::eek:s::Thread::Run(undefined?F?*, void, void*)] (http://localhost:50588/Development/LessonWebTest.js:72899:8)
    41.     at Object.dynCall_iiii (http://localhost:50588/Development/LessonWebTest.js:4475100:46)
    42.     at invoke_iiii (http://localhost:50588/Development/LessonWebTest.js:16481:34)
    43.     at Array.__ZN6il2cpp6icalls8mscorlib6System9Threading6Thread15Thread_internalEP12Il2CppThreadP14Il2CppDelegate [il2cpp::icalls::mscorlib::System::Threading::Thread::Thread_internal(Il2CppDelegate?**)] (http://localhost:50588/Development/LessonWebTest.js:66055:8)
    44.     at __Z29Thread_Thread_internal_m20017P11Thread_t264P20MulticastDelegate_t7P10MethodInfo [Thread_Thread_internal_m20017(MethodInfo?***)] (http://localhost:50588/Development/LessonWebTest.js:3670218:38)
    45. UnityConfig.js:104 WebSocket connection to 'ws://172.22.4.119:54998/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSEDUnityConfig.js:104 UnityErrorHandler
    46. :50588/Development/LessonWebTest.js:7032 Uncaught abort() at Error
    47.     at jsStackTrace (http://localhost:50588/Development/LessonWebTest.js:1000:13)
    48.     at stackTrace (http://localhost:50588/Development/LessonWebTest.js:1017:22)
    49.     at abort (http://localhost:50588/Development/LessonWebTest.js:4481567:25)
    50.     at _pthread_create (http://localhost:50588/Development/LessonWebTest.js:13841:59)
    51.     at __ZN6il2cpp2os10ThreadImpl3RunEPFvPvES2_ [il2cpp::eek:s::ThreadImpl::Run(undefined?F?*, void, void*)] (http://localhost:50588/Development/LessonWebTest.js:81941:9)
    52.     at Array.__ZN6il2cpp2os6Thread3RunEPFvPvES2_ [il2cpp::eek:s::Thread::Run(undefined?F?*, void, void*)] (http://localhost:50588/Development/LessonWebTest.js:72899:8)
    53.     at Object.dynCall_iiii (http://localhost:50588/Development/LessonWebTest.js:4475100:46)
    54.     at invoke_iiii (http://localhost:50588/Development/LessonWebTest.js:16481:34)
    55.     at Array.__ZN6il2cpp6icalls8mscorlib6System9Threading6Thread15Thread_internalEP12Il2CppThreadP14Il2CppDelegate [il2cpp::icalls::mscorlib::System::Threading::Thread::Thread_internal(Il2CppDelegate?**)] (http://localhost:50588/Development/LessonWebTest.js:66055:8)
    56.     at __Z29Thread_Thread_internal_m20017P11Thread_t264P20MulticastDelegate_t7P10MethodInfo [Thread_Thread_internal_m20017(MethodInfo?***)] (http://localhost:50588/Development/LessonWebTest.js:3670218:38)[/QUOTE]