Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug WebGL Builds are broken

Discussion in 'Linux' started by z3ntu, Dec 11, 2015.

  1. z3ntu

    z3ntu

    Joined:
    Aug 27, 2015
    Posts:
    24
    Building works but running them throws (non-development build):

    Uncaught abort(127) at Error
    at jsStackTrace (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:1:21731)
    at stackTrace (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:1:21914)
    at abort (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:36:50367)
    at Array.aok (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:29:54148)
    at Object._ek [as dynCall_iiii] (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:29:22174)
    at invoke_iiii (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:1:353975)
    at JH (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:23:372849)
    at ku (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:23:86797)
    at tbb (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:18:220620)
    at cxb (http://localhost/unity/SpaceShooter/1449847564/Release/1449847564.js:16:47062)
    If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

    run() called, but dependencies remain, so not running
    pre-main prep time: 126 ms
    PlayerConnection initialized from (debug = 0)
    PlayerConnection disabled - listening mode not supported
    Initialize engine version: 5.2.2f1 (918698a3f19e)
    Creating WebGL 1.0 context.
    Renderer: WebKit WebGL
    Vendor: WebKit
    Version: WebGL 1.0 (OpenGL ES 2.0 Chromium)
    GLES: 0
    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
    ture WEBGL_draw_buffers GL_WEBGL_draw_buffers WEBGL_lose_context GL_WEBGL_lose_context WEBKIT_WEBGL_lose_context GL_WEBKIT_WEBGL_lose_context
    OPENGL LOG: Creating OpenGL ES 2.0 graphics device
    Invalid function pointer called with signature 'iiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)
    Build with ASSERTIONS=2 for more info.
    127
    127
    warning: a problem occurred in builtin C++ name demangling; build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling
    Invoking error handler due to
    Uncaught abort(127) at Error
    at jsStackTrace (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1013:12)
    at stackTrace (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1027:21)
    at abort (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1679491:43)
    at nullFunc_iiii (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:14991:2)
    at Array.b127 (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1666766:2)
    at Object.dynCall_iiii (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1634870:39)
    at invoke_iiii (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:16146:32)
    at __ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP12Il2CppObject [il2cpp::vm::Runtime::Invoke?5(void**, undefined?S?*)] (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1409800:8)
    at _il2cpp_runtime_invoke (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1621198:9)
    at __Z20il2cpp_invoke_method21ScriptingMethodIl2CppP15ScriptingObjectP18ScriptingArgumentsPP18ScriptingExceptionb [il2cpp_invoke_method?2()] (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1475364:8)
    Uncaught abort(127) at Error
    at jsStackTrace (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1013:12)
    at stackTrace (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1027:21)
    at abort (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1679491:43)
    at nullFunc_iiii (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:14991:2)
    at Array.b127 (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1666766:2)
    at Object.dynCall_iiii (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1634870:39)
    at invoke_iiii (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:16146:32)
    at __ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP12Il2CppObject [il2cpp::vm::Runtime::Invoke?5(void**, undefined?S?*)] (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1409800:8)
    at _il2cpp_runtime_invoke (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1621198:9)
    at __Z20il2cpp_invoke_method21ScriptingMethodIl2CppP15ScriptingObjectP18ScriptingArgumentsPP18ScriptingExceptionb [il2cpp_invoke_method?2()] (http://localhost/unity/SpaceShooter/1449847564_dev/Development/1449847564_dev.js:1475364:8)
    'webkitMovementX' is deprecated. Please use 'movementX' instead.
    'webkitMovementY' is deprecated. Please use 'movementY' instead.

    These builds already worked in a previous version (one of the first releases at least)
     
    Last edited: Dec 11, 2015