Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by chuckdeng · Mar 09, 2015 at 08:45 PM · webgl

Unity 5 WebGL build error with _llvm_memcpy_p0i8_p0i8_i32 is not defined

Hello,

The WebGL build throws an error with _llvm_memcpy_p0i8_p0i8_i32 is not defined. I built the project with exception set to "FULL" and upon loading the project, I receive an error message box stating _llvm_memcpy_p0i8_p0i8_i32 is not defined. Anyone have any ideas what this could be?

My computer: Mac OS X 10.9.5 Unity 5.0.0f4 Professional

Thanks in advance!

Chuck

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by bdev · Apr 08, 2015 at 04:38 PM

For what its worth, I ran into this same issue.

While i cannot speak 100% for full exceptions being completely broken, I can confirm at least for me that the exceptions that i've ran into with full exceptions enabled always result in this error code.

So if you're running into this exact error you'd likely be better off with full exceptions off. Where when I get this error without full exceptions i at least get a somewhat more informative error.

In my case with full exceptions on:

 "exception thrown: ReferenceError: _llvm_memcpy_p0i8_p0i8_i32 is not defined,_llvm_memcpy_p0i8_p0i8_i32__wrapper@http://localhost:63510/Development/Html5.js:5722554:2
 dynCall_viiiii@http://localhost:63510/Development/Html5.js:5722039:2
 invoke_viiiii@http://localhost:63510/Development/Html5.js:15412:3
 __Z16File__ctor_m3223P9File_t378bP11Reader_t783P10MethodInfo@http://localhost:63510/Development/Html5.js:2595212:14
 dynCall_viiii@http://localhost:63510/Development/Html5.js:5728069:2
 invoke_viiii@http://localhost:63510/Development/Html5.js:15404:3
 __Z16File__ctor_m1008P9File_t378P11Stream_t775P10MethodInfo@http://localhost:63510/Development/Html5.js:4953675:6
 dynCall_viii@http://localhost:63510/Development/Html5.js:5737131:2
 invoke_viii@http://localhost:63510/Development/Html5.js:15788:3
 __Z27PlayerRoutine_MoveNext_m523P18PlayerRoutine_t218P10MethodInfo@http://localhost:63510/Development/Html5.js:2198517:6
 __ZN16VirtFuncInvoker0IbE6InvokeEP10MethodInfoPv@http://localhost:63510/Development/Html5.js:5617012:7
 dynCall_iii@http://localhost:63510/Development/Html5.js:5740955:9
 invoke_iii@http://localhost:63510/Development/Html5.js:15700:10
 __Z22SongPlayer_Update_m529P15SongPlayer_t181P10MethodInfo@http://localhost:63510/Development/Html5.js:5479254:3
 __Z24RuntimeInvoker_Void_t222P10MethodInfoPvPS1_@http://localhost:63510/Development/Html5.js:5721364:2
 dynCall_iiii@http://localhost:63510/Development/Html5.js:5734288:9
 invoke_iiii@http://localhost:63510/Development/Html5.js:16052:10
 __ZN6il2cpp2vm7Runtime6InvokeEP10MethodInfoPvPS4_PP12Il2CppObject@http://localhost:63510/Development/Html5.js:5455514:7
 _il2cpp_runtime_invoke@http://localhost:63510/Development/Html5.js:5710236:7
 __Z23scripting_method_invoke21ScriptingMethodIl2CppP15ScriptingObjectR18ScriptingArgumentsPP18ScriptingException@http://localhost:63510/Development/Html5.js:5648018:7
 __ZN25ScriptingInvocationNoArgs6InvokeEPP18ScriptingException@http://localhost:63510/Development/Html5.js:4617123:7
 __ZN25ScriptingInvocationNoArgs6InvokeEv@http://localhost:63510/Development/Html5.js:5685605:7
 __ZN13MonoBehaviour16CallUpdateMethodEi@http://localhost:63510/Development/Html5.js:4483405:2
 __ZN13MonoBehaviour6UpdateEv@http://localhost:63510/Development/Html5.js:5735407:2
 __ZN20BaseBehaviourManager12CommonUpdateI16BehaviourManagerEEvv@http://localhost:63510/Development/Html5.js:4029994:4
 __ZN16BehaviourManager6UpdateEv@http://localhost:63510/Development/Html5.js:5727144:2
 dynCall_vi@http://localhost:63510/Development/Html5.js:5748531:2
 invoke_vi@http://localhost:63510/Development/Html5.js:15868:3
 __Z10PlayerLoopbbP10IHookEvent@http://localhost:63510/Development/Html5.js:2073917:8
 __ZL8mainloopv@http://localhost:63510/Development/Html5.js:5534247:2
 dynCall_v@http://localhost:63510/Development/Html5.js:5751775:2
 Runtime.dynCall@http://localhost:63510/Development/Html5.js:206:11
 Browser_mainLoop_runner/<@http://localhost:63510/Development/Html5.js:10294:5
 Browser.mainLoop.runIter@http://localhost:63510/Development/Html5.js:7063:5
 Browser_mainLoop_runner@http://localhost:63510/Development/Html5.js:10290:3
 "

With full exceptions off:

 "exception thrown: TypeError: sound.buffer is null,_JS_Sound_GetLength@http://localhost:63251/Development/Html5.js:11094:2
 __ZN4FMOD7SystemI9playSoundE17FMOD_CHANNELINDEXPNS_5SoundEbPPNS_7ChannelE@http://localhost:63251/Development/Html5.js:1414225:23
 __ZN4FMOD6System9playSoundE17FMOD_CHANNELINDEXPNS_5SoundEbPPNS_7ChannelE@http://localhost:63251/Development/Html5.js:2061184:9
 __ZN11SoundHandle8Instance13CreateChannelERS_b@http://localhost:63251/Development/Html5.js:559983:8
 __ZN11SoundHandle13CreateChannelEb@http://localhost:63251/Development/Html5.js:2191737:4
 __ZN10SampleClip15AllocateChannelEby@http://localhost:63251/Development/Html5.js:2099778:2
 __ZN11AudioSource4PlayEd@http://localhost:63251/Development/Html5.js:593600:4
 __Z32AudioSource_CUSTOM_PlayScheduledP15ScriptingObjectd@http://localhost:63251/Development/Html5.js:2344020:4
 __Z31AudioSource_PlayScheduled_m1015P15AudioSource_t56dP10MethodInfo@http://localhost:63251/Development/Html5.js:2391493:2
 __Z27PlayerRoutine_MoveNext_m523P18PlayerRoutine_t218P10MethodInfo@http://localhost:63251/Development/Html5.js:675471:6
 __ZN16VirtFuncInvoker0IbE6InvokeEP10MethodInfoPv@http://localhost:63251/Development/Html5.js:2338764:7
 __Z22SongPlayer_Update_m529P15SongPlayer_t181P10MethodInfo@http://localhost:63251/Development/Html5.js:2453924:2
 __Z24RuntimeInvoker_Void_t222P10MethodInfoPvPS1_@http://localhost:63251/Development/Html5.js:2464920:2
 __ZN6il2cpp2vm7Runtime6InvokeEP10MethodInfoPvPS4_PP12Il2CppObject@http://localhost:63251/Development/Html5.js:2412562:7
 _il2cpp_runtime_invoke@http://localhost:63251/Development/Html5.js:2444676:7
 __Z23scripting_method_invoke21ScriptingMethodIl2CppP15ScriptingObjectR18ScriptingArgumentsPP18ScriptingException@http://localhost:63251/Development/Html5.js:2375623:7
 __ZN25ScriptingInvocationNoArgs6InvokeEPP18ScriptingException@http://localhost:63251/Development/Html5.js:1656774:7
 __ZN25ScriptingInvocationNoArgs6InvokeEv@http://localhost:63251/Development/Html5.js:2410126:7
 __ZN13MonoBehaviour16CallUpdateMethodEi@http://localhost:63251/Development/Html5.js:1511585:2
 __ZN13MonoBehaviour6UpdateEv@http://localhost:63251/Development/Html5.js:2489077:2
 __ZN20BaseBehaviourManager12CommonUpdateI16BehaviourManagerEEvv@http://localhost:63251/Development/Html5.js:1224661:4
 __ZN16BehaviourManager6UpdateEv@http://localhost:63251/Development/Html5.js:2474005:2
 __Z10PlayerLoopbbP10IHookEvent@http://localhost:63251/Development/Html5.js:536275:3
 __ZL8mainloopv@http://localhost:63251/Development/Html5.js:2235921:2
 dynCall_v@http://localhost:63251/Development/Html5.js:2513589:2
 Runtime.dynCall@http://localhost:63251/Development/Html5.js:206:11
 Browser_mainLoop_runner/<@http://localhost:63251/Development/Html5.js:10281:5
 Browser.mainLoop.runIter@http://localhost:63251/Development/Html5.js:7048:5
 Browser_mainLoop_runner@http://localhost:63251/Development/Html5.js:10277:3
 "

Each of these stack traces occur in different areas, but I've confirmed that the first trace (with full on) does not throw any exception at all with full exceptions enabled. and have confirmed with other community members that the second error is expected ( http://forum.unity3d.com/threads/audioclip-create.317032/ )

tl;dr version: afaik full exceptions is broke (as of 5.0.1f1) and its likely only misdirecting you. use developer builds with enable exceptions as None to better determine the issue.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by jonas-echterhoff · Apr 14, 2015 at 08:28 AM

This is a bug in emscripten, it will be fixed in Unity 5.1.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Calling JS WebGL plugins from browser JavaScript 0 Answers

Weird black overlay(look like shadow) in WebGL build 0 Answers

Scrolling WebGL Canvas on Mobile / Tablet 0 Answers

How to clear all the players that have played my games playerprefs? 2 Answers

File Paths to load files with WWW for WebGL 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges