Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
1
Question by BlastOffProductions · Aug 11, 2017 at 07:33 AM · errorbugwebglil2cpp

il2cpp/build/il2cpp.exe did not run properly!

Ok, when I build to WebGL. I keep getting this error: Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/build/il2cpp.exe did not run properly! I have seen many fixes for this error, but none of then work. Does anyone know how to fix this?

Comment
Add comment · Show 8
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 JoshPeterson · Sep 01, 2016 at 11:18 AM 0
Share

Can you provide more information about the specific error message? This is a general error that could indicate one of many possible issues.

avatar image BlastOffProductions JoshPeterson · Sep 14, 2016 at 02:56 PM 0
Share

And there is a message that is too long to post seperatly.

avatar image BlastOffProductions JoshPeterson · Sep 14, 2016 at 03:17 PM 0
Share

Thank you for responding, this is another error I get as well : ) IL2CPP error (no further information about what managed code was being converted is available) Additional information: Build a development build for more information. Failed to resolve assembly: '/Users/Brandon/She loves me, Version=0.0.0.0, Culture=neutral, Public$$anonymous$$eyToken=null'

As well as this:

Exception: /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/build/il2cpp.exe did not run properly! UnityEditorInternal.Runner.Run$$anonymous$$anagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at /Users/builduser/buildslave/unity/build/Editor/$$anonymous$$ono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:96) UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection`1 userAssemblies, System.String outputDirectory, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/$$anonymous$$ono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:324) UnityEditorInternal.IL2CPPBuilder.Run () (at /Users/builduser/buildslave/unity/build/Editor/$$anonymous$$ono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:203) UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at /Users/builduser/buildslave/unity/build/Editor/$$anonymous$$ono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:135) UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:301) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/$$anonymous$$ono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.HostView:OnGUI()

avatar image JoshPeterson BlastOffProductions · Sep 19, 2016 at 12:57 PM 0
Share

Thanks! It looks like an assembly located at /Users/Brandon/She loves me.dll cannot be found. Something in the project is referencing that assembly. Do you know if that is correct? Should an assembly exist at that location?

Show more comments
avatar image PeterMack1 · Jan 30, 2017 at 08:05 AM 0
Share

Did you find a solution for this? I'm getting the same exception, whenever I try to build something.

avatar image BlastOffProductions PeterMack1 · Jan 30, 2017 at 06:09 PM 0
Share

I'm going to try to export all my assets to a new folder. Then create a new project, and import all of those assets I exported previously, into the new project.

4 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by BlastOffProductions · Aug 11, 2017 at 11:07 AM

Fixed it! My problem, was that I had a script that was looking for a public gameobject, but I didn't give it one. Usually the game will still work, if your compiling something like a windows/mac app. However I was compiling webgl. And webgl can't handle problems like that. So all I had to do, was give the script, a public text object. I can't believe it was that simple!

Comment
Add comment · Show 8 · 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 softrare · Jun 17, 2018 at 12:27 PM 2
Share

Can you please elaborate on this? I am having the error and nothing helps!

avatar image BlastOffProductions softrare · Jun 17, 2018 at 02:38 PM 0
Share

Are you making an app for webgl or something else?

avatar image softrare BlastOffProductions · Jun 17, 2018 at 02:39 PM 0
Share

I was compiling for webgl indeed something that works fine under mono

Show more comments
avatar image
3

Answer by nanella · Jul 14, 2018 at 09:58 AM

For me, restarting my computer (Win 10) and deleting il2cpp_cache and webgl_cache in the Library directory solved the problem.

Comment
Add comment · Show 2 · 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 DanTaylor · Nov 06, 2018 at 11:23 PM 0
Share

This worked for me too. I had a powercut while Unity was building in IL2CPP for the first time, and I guess some of the files in the cache must have been corrupted. Deleting them did the trick - thanks for the tip!

avatar image timmccune · Jul 31, 2020 at 02:30 AM 0
Share

I had this issue in Unity 2019.3.12f1 and deleting the above-mentioned folders from my project directory did the trick . Thank you.

avatar image
0

Answer by soul-games · Aug 11, 2017 at 06:47 AM

This video solved the problem: https://www.youtube.com/watch?v=lxD02XawLeQ&feature=youtu.be.

Basically, you have to go to this file C:\Program Files\Unity\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\emscripten.config and change the line in the code that says stack_size=8125 to stack_size=1024.

Restart Unity.

Worked for me!

Comment
Add comment · Show 1 · 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 softrare · Jun 17, 2018 at 12:27 PM 0
Share

Doesn't solve the issue

avatar image
0

Answer by ahmedaniss · Dec 22, 2020 at 09:16 AM

problem fixed here : https://youtu.be/P_-vOfad_yc

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

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Cannot Export to WebGL because of il2CPP stops working. 2 Answers

Failed to Build for WebGL 1 Answer

Exception: C:\Unity\Hub\Editors\2020.1.7f1\Editor\Data\il2cpp/build/deploy/netcoreapp3.0/il2cpp.exe did not run properly! 2 Answers

Index was out of range. error 1 Answer

Constant messages in the Console 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