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 /
  • Help Room /
avatar image
0
Question by ClovyGames · Apr 07, 2021 at 09:35 PM · android buildbuild error

[Solved] Android Build Error

Edit: What you got to do is to delete Il2cppBuildCache folder in Library folder. I'm trying to build my android game but I'm keep getting error. This is the error I'm getting.

 Exception: Failed running C:\Program Files\Unity\Hub\Editor\2020.2.3f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --useprebuiltbuildprogram --no-colors
 
 stdout:
 [             ] Require frontend run.  artifacts\tundra.dag.json does not exist yet
 [        0s] Executed build program. Created build graph with 2 nodes.
 error: Cannot parse path because it's ..'ing beyond the root: C:/UnityProjects/Bottle Flip Simulator/Library/Il2cppBuildCache/Android/armeabi-v7a/../../../../../../../../../../../.repoconfig (System.ArgumentException)
   at NiceIO.NPath.CollapseDoubleDots
   at NiceIO.NPath.MakeCompletelyWellFormatted
   at NiceIO.NPath..ctor
   at NiceIO.NPath.Combine
   at NiceIO.NPath.RelativeTo
   at System.Linq.Enumerable+WhereSelectArrayIterator`2[TSource,TResult].MoveNext
   at Bee.TundraBackend.TundraBackend.AddFileSignature
   at Bee.TundraBackend.TundraBackend.AddFileAndGlobSignaturesFromOtherTundraFile
   at Bee.StandaloneBeeDriver.CreateBuildGraph
   at Bee.StandaloneBeeDriver.InvokeTundra
   at Bee.StandaloneBeeDriver.BuildMain
   at Bee.StandaloneBeeDriver.Main
 stderr:
 
 UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <a936841cea2147a2a55ea27843fa46ae>:0)
 UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <a936841cea2147a2a55ea27843fa46ae>:0)
 UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String generatedCppOutputDirectory) (at <a936841cea2147a2a55ea27843fa46ae>:0)
 UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.Boolean platformSupportsManagedDebugging) (at <a936841cea2147a2a55ea27843fa46ae>:0)
 UnityEditorInternal.IL2CPPBuilder.Run () (at <a936841cea2147a2a55ea27843fa46ae>:0)
 UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <a936841cea2147a2a55ea27843fa46ae>:0)
 UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <a5c628e5460b4ef8b30249ded44d2921>:0)
 UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <a5c628e5460b4ef8b30249ded44d2921>:0)
 UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <a5c628e5460b4ef8b30249ded44d2921>:0)
 UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <a5c628e5460b4ef8b30249ded44d2921>:0)
 UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <a936841cea2147a2a55ea27843fa46ae>:0)
 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)


Does anyone know how to fix this?

Comment
Add comment · Show 1
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 ClovyGames · Apr 07, 2021 at 12:45 PM 0
Share

OMG I fixed this error. What you got to do is to delete Il2cppBuildCache in Library folder!

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by ahmedaniss · May 23, 2021 at 06:21 PM

Problem fixed here : https://youtu.be/-wQ39MQm990

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
0

Answer by dctunity · Feb 16, 2021 at 03:21 PM

Hello I am a Korean developer. I also had a headache for 3 days because of this problem. However, it resolved. I build on PC successfully, but the error came out on my laptop. The problem is the library folder within your project. EX) C:/UnityProjects/Bottle Flip Simulator/Library/..

I compared the folder C:/UnityProjects/Bottle Flip Simulator/Library on my PC with C:/UnityProjects/Bottle Flip Simulator/Library on my laptop and found that there were no 'Il2cpp' related folders inside. So I copied the Library folder on the PC, deleted the Library folder on the laptop, and then pasted it.

Paste the library folder in the project that builds successfully.

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
0

Answer by ClovyGames · Apr 06, 2021 at 05:30 PM

@dctunity I'm making new game and I'm getting the same error as above. (I gave up building Bottle Flip Simulator) So, I checked Library folder and there is three folders related to 'Il2cpp' . 1. il2cpp_android_arm64-v8a, 2. il2cpp_android_armeabi-v7a 3. Il2cppBuildCache Weird thing is that I succeeded building 3 times. I even tried reinstalling Unity but I get an error. This is the error I'm getting. (I think this is same as error above)

 Exception: Failed running C:\Program Files\Unity\Hub\Editor\2020.3.2f1\Editor\Data\il2cpp/build/BeeSettings/offline/bee.exe --useprebuiltbuildprogram --no-colors
 
 stdout:
 [             ] Require frontend run.  artifacts\tundra.dag.json does not exist yet
 [        0s] Executed build program. Created build graph with 2 nodes.
 error: Cannot parse path because it's ..'ing beyond the root: C:/UnityProjects/DuckFlight/Library/Il2cppBuildCache/Android/armeabi-v7a/../../../../../../../../../../../.repoconfig (System.ArgumentException)
   at NiceIO.NPath.CollapseDoubleDots
   at NiceIO.NPath.MakeCompletelyWellFormatted
   at NiceIO.NPath..ctor
   at NiceIO.NPath.Combine
   at NiceIO.NPath.RelativeTo
   at System.Linq.Enumerable+WhereSelectArrayIterator`2[TSource,TResult].MoveNext
   at Bee.TundraBackend.TundraBackend.AddFileSignature
   at Bee.TundraBackend.TundraBackend.AddFileAndGlobSignaturesFromOtherTundraFile
   at Bee.StandaloneBeeDriver.CreateBuildGraph
   at Bee.StandaloneBeeDriver.InvokeTundra
   at Bee.StandaloneBeeDriver.BuildMain
   at Bee.StandaloneBeeDriver.Main
 stderr:
 
 UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <d6a6a4b561b9431dbfe2c61f7bf0d405>:0)
 UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <d6a6a4b561b9431dbfe2c61f7bf0d405>:0)
 UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo, System.String generatedCppOutputDirectory) (at <d6a6a4b561b9431dbfe2c61f7bf0d405>:0)
 UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.Boolean platformSupportsManagedDebugging) (at <d6a6a4b561b9431dbfe2c61f7bf0d405>:0)
 UnityEditorInternal.IL2CPPBuilder.Run () (at <d6a6a4b561b9431dbfe2c61f7bf0d405>:0)
 UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <d6a6a4b561b9431dbfe2c61f7bf0d405>:0)
 UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <2c6e9a95f1dd4e06ad71afcd2684dcb7>:0)
 UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <2c6e9a95f1dd4e06ad71afcd2684dcb7>:0)
 UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <2c6e9a95f1dd4e06ad71afcd2684dcb7>:0)
 UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <2c6e9a95f1dd4e06ad71afcd2684dcb7>:0)
 UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <d6a6a4b561b9431dbfe2c61f7bf0d405>:0)
 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
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
0

Answer by hippogames · Nov 02, 2021 at 11:28 PM

The soludion with deleting cache only works until the next build attempt. I was trying different Unity versions, clearing all possible Temp/AppData folders, with no luck. This error is a sticky shit, can't get it working.

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

159 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 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 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 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 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 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 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 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 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 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 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 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 avatar image avatar image avatar image

Related Questions

UnityでAndroidのビルドができない。(Fail to build apk. See the Console for details) 0 Answers

Built game crashes, but works in editor 0 Answers

Android Build with il2cpp failed: The specified executable is not a valid application for this OS platform. 1 Answer

Android Build Error : IOException: Win32 IO returned 232 3 Answers

Build Error after update Unity 5 to 2019 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