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 lorunce · Apr 01, 2015 at 01:47 PM · iosunity5il2cppplaymaker

Can't builder IOS in Unity5.0f4 Exception:UnusedBytecodeStripper2.exe

Can't builder IOS in Unity5.0f4 Exception:UnusedBytecodeStripper2.exe I have find the similar problem at http://forum.unity3d.com/threads/unityexception-failed-assemblies-stripper-tried-a-few-things-now-im-stuck.249052/

http://forum.unity3d.com/threads/unity-5-rc2-build-to-webgl-fails.299003/

http://issuetracker.unity3d.com/issues/il2cpp-regression-projects-with-ionic-zlib-assembly-fail-to-build-in-4-dot-6-2p1

https://github.com/playgameservices/play-games-plugin-for-unity/issues/433

http://forum.unity3d.com/threads/il2cpp-exe-error.311499/

I have use playmaker in a sperate project,it goes well. project setting has setted by some advise. I want to know how to deal with it.if must be update to unity5.0p3,please point which bug cause it.

All of the log is this:

Failed running /Applications/Unity5.0f4/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe -out "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed" -l none -c link -x "/Applications/Unity5.0f4/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper/native_link.xml" -f "/Applications/Unity5.0f4/Unity.app/Contents/Frameworks/il2cpp/LinkerDescriptors" -x "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/methods_pointedto_by_uievents.xml" -d "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/Assembly-UnityScript.dll" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/PlayMaker.dll" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/TDGAAnalytics.dll" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/I18N.CJK.dll" -a "/Applications/SmartPhone/IOS_N1_unity5.0f4_02/Temp/StagingArea/Data/Managed/I18N.dll"

stdout: Fatal error in Mono CIL Linker System.Exception: Error processing method: 'System.Boolean HutongGames.PlayMaker.ActionHelpers::IsVisible(UnityEngine.GameObject)' in assembly: 'PlayMaker.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve UnityEngine.Renderer UnityEngine.GameObject::get_renderer() at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x00000] in :0 at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x00000] in :0 at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x00000] in :0 at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in :0 at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in :0 --- End of inner exception stack trace --- at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in :0 at Mono.Linker.Steps.MarkStep.Process () [0x00000] in :0 at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in :0 at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in :0 at Mono.Linker.Driver.Run () [0x00000] in :0 at Mono.Linker.Driver.RunDriver (Mono.Linker.Driver driver) [0x00000] in :0 stderr:

UnityEngine.Debug:LogError(Object) UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:66) UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:192) UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String, String, String&, String&, String, String, IEnumerable`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:185) UnityEditorInternal.AssemblyStripper:Strip(String, String, String&, String&, String, String, IEnumerable`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:136) UnityEditorInternal.AssemblyStripper:Strip(String[], String[], String, String, String&, String&, String, String, IEnumerable`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:121) UnityEditorInternal.IL2CPPBuilder:RunAssemblyStripper(IEnumerable, String, String[], String[], String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:431) UnityEditorInternal.IL2CPPBuilder:StripAssemblies(String[], String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:419) UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:273) UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:211) UnityEditor.HostView:OnGUI()

Exception: /Applications/Unity5.0f4/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly! UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:68) UnityEditorInternal.AssemblyStripper.RunAssemblyLinker (IEnumerable`1 args, System.String& out, System.String& err, System.String linkerPath, System.String workingDirectory) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:192) UnityEditorInternal.AssemblyStripper.StripAssembliesTo (System.String outputFolder, System.String workingDirectory, System.String& output, System.String& error, System.String linkerPath, System.String descriptorsFolder, IEnumerable`1 additionalBlacklist) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:185) UnityEditorInternal.AssemblyStripper.Strip (System.String outputFolder, System.String workingDirectory, System.String& output, System.String& error, System.String monoLinkerPath, System.String descriptorsFolder, IEnumerable`1 additionalBlacklist) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:136) UnityEditorInternal.AssemblyStripper.Strip (System.String[] assemblies, System.String[] searchDirs, System.String outputFolder, System.String workingDirectory, System.String& output, System.String& error, System.String monoLinkerPath, System.String descriptorsFolder, IEnumerable`1 additionalBlacklist) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:121) UnityEditorInternal.IL2CPPBuilder.RunAssemblyStripper (IEnumerable assemblies, System.String managedAssemblyFolderPath, System.String[] assembliesToStrip, System.String[] searchDirs, System.String monoLinkerPath) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:431) UnityEditorInternal.IL2CPPBuilder.StripAssemblies (System.String[] assemblies, System.String managedAssemblyFolderPath) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:419) UnityEditorInternal.IL2CPPBuilder.Run () (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:273) UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:211) UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.iOSBuildPostprocessor pp, BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String stagingAreaDataManaged, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (BuildPostProcessArgs args) 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/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.HostView:OnGUI()

Thanks reading

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

1 Reply

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

Answer by JoshPeterson · Apr 02, 2015 at 11:36 AM

I don't think that many (or maybe any) of the links listed are really this same problem. They are all related to the UnusedBytecodeStripper2.exe utility, but I don't see this specific error in any of those cases.

The really error here is this:

Fatal error in Mono CIL Linker System.Exception: Error processing method: 'System.Boolean HutongGames.PlayMaker.ActionHelpers::IsVisible(UnityEngine.GameObject)' in assembly: 'PlayMaker.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve UnityEngine.Renderer UnityEngine.GameObject::get_renderer()

It looks like the renderer property is obsolete, and GetComponent() should be used instead. Is there a chance that you need to update to a newer version of PlayMaker?

I'm not sure about the specific cause of the problem, but something seems to be out of sync here.

Comment
Add comment · Show 6 · 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 lorunce · Apr 08, 2015 at 07:03 AM 0
Share

Thank you.I have used unity4.6.4p1,this problem be solved somehow.

avatar image aimozs · Apr 29, 2015 at 11:34 AM 0
Share

I'm having the same problems here.. just trying to do a simple build WebGL with the first scene.

I've tried changing the stripping option (was disabled), and still having the same error :S

avatar image JoshPeterson · Apr 29, 2015 at 12:11 PM 0
Share

@aimozs I don't think that the Stripping Level will have an impact, as the IL2CPP scripting backend is always doing byte code stripping. Do you have the latest version of Play$$anonymous$$aker?

avatar image aimozs · Apr 29, 2015 at 01:13 PM 0
Share

oh sorry, didnt it was about Play$$anonymous$$aker, but I dont use it.. :S

avatar image JoshPeterson · Apr 29, 2015 at 03:24 PM 0
Share

@aimozs You might be experiencing a different issue that looks similar. Could you post your error message on the forums or in a different question on the answers site? Thanks.

Show more comments

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

7 People are following this question.

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

Related Questions

Unity 5.5 ArgumentException: Set Method not found for 'interactable' 2 Answers

Piles of balloons "tied" to a fixed position - addforce will push them, but how to they return to the "tied" place? 2 Answers

IL2CPP Xcode build error 0 Answers

IL2CPP error on Unity5 1 Answer

il2cpp.exe did not run properly! when build Android app. 6 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