- Home /
WebGL: Invalid function pointer called with signature 'vi'.
Originally I thought it was a memory issue, I had a few errors complaining when sending www requests frequently. I lowered the amount sent which reduced the crash rate, however it is still an issue.
I have no warnings or errors in Unity, and can build to standalone / webplayer without any issues.
I get the following error after building to WebGL:
Invalid function pointer called with signature 'vi'. 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)Module.printErr @ .co.uk/:33 /:33 Build with ASSERTIONS=2 for more info.Module.printErr @ /:33 /:29 150 /:33 150Module.printErr @ /:33 /:33 warning: a problem occurred in builtin C++ name demangling; build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demanglingModule.printErr @ /:33 UnityConfig.js:74 Invoking error handler due to Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_vi (WebGL.js:14507:2) at Array.b150 (WebGL.js:3279130:2) at Object.dynCall_vi (WebGL.js:3275035:30) at invoke_vi (WebGL.js:15976:23) at __ZN3WWW18FeedUnityWebStreamEb [WWW::FeedUnityWebStream(bool)] (WebGL.js:1193928:3) at Array.__ZN13EmscriptenWWW10OnResponseEPviS0_j [EmscriptenWWW::OnResponse?S(void*, int)] (WebGL.js:2084432:3) at dynCall_viiii (WebGL.js:3255299:33) WebGL.js:15978 Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_vi (WebGL.js:14507:2) at Array.b150 (WebGL.js:3279130:2) at Object.dynCall_vi (WebGL.js:3275035:30) at invoke_vi (WebGL.js:15976:23) at __ZN3WWW18FeedUnityWebStreamEb [WWW::FeedUnityWebStream(bool)] (WebGL.js:1193928:3) at Array.__ZN13EmscriptenWWW10OnResponseEPviS0_j [EmscriptenWWW::OnResponse?S(void*, int)] (WebGL.js:2084432:3) at dynCall_viiii (WebGL.js:3255299:33) WebGL.js:10266 A valid Cubemap texture or render texture must be provided
JS_Log_Dump @ WebGL.js:10266 /:33 Invalid function pointer called with signature 'ii'. 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)Module.printErr @ /:33 /:33 Build with ASSERTIONS=2 for more info.Module.printErr @ /:33 /:29 153 /:33 153Module.printErr @ /:33 UnityConfig.js:74 Invoking error handler due to Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_ii (WebGL.js:14522:2) at Array.b153 (WebGL.js:3278564:2) at Object.dynCall_ii (WebGL.js:3273268:37) at invoke_ii (WebGL.js:16000:30) at ZN3WWW18FeedUnityWebStreamEb [WWW::FeedUnityWebStream(bool)] (WebGL.js:1193938:11) at Array.ZN13EmscriptenWWW10OnResponseEPviS0_j [EmscriptenWWW::OnResponse?S(void*, int)] (WebGL.js:2084432:3) at dynCall_viiii (WebGL.js:3255299:33) WebGL.js:16002 Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_ii (WebGL.js:14522:2) at Array.b153 (WebGL.js:3278564:2) at Object.dynCall_ii (WebGL.js:3273268:37) at invoke_ii (WebGL.js:16000:30) at ZN3WWW18FeedUnityWebStreamEb [WWW::FeedUnityWebStream(bool)] (WebGL.js:1193938:11) at Array.ZN13EmscriptenWWW10OnResponseEPviS0_j [EmscriptenWWW::OnResponse?S(void*, int)] (WebGL.js:2084432:3) at dynCall_viiii (WebGL.js:3255299:33) /:33 Invalid function pointer called with signature 'vi'. 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)Module.printErr @ /:33 /:33 Build with ASSERTIONS=2 for more info.Module.printErr @ /:33 /:29 150 /:33 150Module.printErr @ /:33 UnityConfig.js:74 Invoking error handler due to Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_vi (WebGL.js:14507:2) at Array.b150 (WebGL.js:3279130:2) at ZN3WWW18FeedUnityWebStreamEb [WWW::FeedUnityWebStream(bool)] (WebGL.js:1194116:67) at Array.ZN13EmscriptenWWW10OnResponseEPviS0_j [EmscriptenWWW::OnResponse?S(void*, int)] (WebGL.js:2084432:3) at dynCall_viiii (WebGL.js:3255299:33) at Object.Runtime.dynCall (WebGL.js:202:36) at XMLHttpRequest.http_onload (WebGL.js:11715:13) WebGL.js:3284378 Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_vi (WebGL.js:14507:2) at Array.b150 (WebGL.js:3279130:2) at ZN3WWW18FeedUnityWebStreamEb [WWW::FeedUnityWebStream(bool)] (WebGL.js:1194116:67) at Array.ZN13EmscriptenWWW10OnResponseEPviS0_j [EmscriptenWWW::OnResponse?S(void*, int)] (WebGL.js:2084432:3) at dynCall_viiii (WebGL.js:3255299:33) at Object.Runtime.dynCall (WebGL.js:202:36) at XMLHttpRequest.http_onload (WebGL.js:11715:13) /:33 Invalid function pointer called with signature 'vi'. 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)Module.printErr @ /:33 /:33 Build with ASSERTIONS=2 for more info.Module.printErr @ /:33 /:29 150 /:33 150Module.printErr @ /:33 UnityConfig.js:74 Invoking error handler due to Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_vi (WebGL.js:14507:2) at Array.b150 (WebGL.js:3279130:2) at ZNSt3114shared_count16release_sharedEv [??()] (WebGL.js:3185525:66) at Array.__ZNSt3_16localeD2Ev [??()] (WebGL.js:3256015:2) at Object.dynCall_vi (WebGL.js:3275035:30) at invoke_vi (WebGL.js:15976:23) at Array.__ZNSt3_118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev [??()] (WebGL.js:2963044:2) WebGL.js:15978 Uncaught abort() at Error at jsStackTrace (WebGL.js:875:12) at stackTrace (WebGL.js:889:21) at abort (WebGL.js:3284378:24) at nullFunc_vi (WebGL.js:14507:2) at Array.b150 (WebGL.js:3279130:2) at __ZNSt3_114shared_count16release_sharedEv [??()] (WebGL.js:3185525:66) at Array.__ZNSt3_16localeD2Ev [??()] (WebGL.js:3256015:2) at Object.dynCall_vi (WebGL.js:3275035:30) at invoke_vi (WebGL.js:15976:23) at Array.__ZNSt3_118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev [??()] (WebGL.js:2963044:2)
Unity version: 5.0.2f1
Your answer
![](https://koobas.hobune.stream/wayback/20220613200309im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Is it possible to run webgl build in a javascript shell without canvas 0 Answers
PlayerPrefs in WebGL not saving or deleting 1 Answer
What is abort 127 0 Answers
Persistent data between different games - local save for WebGL 1 Answer
How to connect to server with a WebGL Build using Unity's Multiplayer Service, Unity 1 Answer