Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[HELP ASAP]Unity 4.6.7 installer gives wrong version of Unity

Discussion in 'Editor & General Support' started by SentreStage, Dec 14, 2015.

  1. SentreStage

    SentreStage

    Joined:
    Aug 8, 2011
    Posts:
    25
    (Didn't know if this should go in this section of the forum or not, so please move it if necessary)

    Hey guys,

    So I'm running into a seemingly minor issue here. I downloaded 4.6.9f1 on my mac to support and update an older project and noticed that theres this weird problem where I cannot build to iOS because it has an issue running IL2CPP.

    Here's the 3 error messages that spit out into the console:

    1.
    Code (CSharp):
    1. IL2CPP error (no further information about what managed code was being converted is available)
    2. Additional information: Build a development build for more information. Failed to resolve assembly: '/Users/keithbrewer/Unity4-Projects/Mxxxx Pxxxxxx Gxxxx, Version=0.0, Culture=neutral, PublicKeyToken=null'
    3.  
    2.
    Code (CSharp):
    1.  
    2. Failed running /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/build/il2cpp.exe --convert-to-cpp --copy-level=None --emit-null-checks --enable-array-bounds-check --extra-types.file="/Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/il2cpp_default_extra_types.txt" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/Assembly-UnityScript-firstpass.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/DOTween.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/DOTween43.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/DOTween46.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/P31RestKit.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/PushwooshForWindowsPhone.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/JsonFx.Json.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/NativeToolboxLib.dll" --assembly="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/StagingArea/Data/Managed/UnityEngine.dll" --generatedcppdir="/Users/myname/Unity4-Projects/mycompany/myGameFolder/Temp/il2cppOutput/il2cppOutput"
    3.  
    4. stdout;
    5. IL2CPP error (no further information about what managed code was being converted is available)
    6. Additional information: Build a development build for more information. Failed to resolve assembly: '/Users/myname/Unity4-Projects/Music Powered Games, Version=0.0, Culture=neutral, PublicKeyToken=null'
    7. il2cpp.exe didn't catch exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: '/Users/myname/Unity4-Projects/Music Powered Games, Version=0.0, Culture=neutral, PublicKeyToken=null'
    8.  at Unity.IL2CPP.Common.AssemblyLoader.Resolve (IMetadataScope scope) [0x00000] in <filename unknown>:0
    9.  at Unity.IL2CPP.Common.AssemblyLoader.Load (System.String name) [0x00000] in <filename unknown>:0
    10.  at Unity.IL2CPP.AssemblyConverter+<Apply>c__AnonStorey9.<>m__0 (System.String path) [0x00000] in <filename unknown>:0
    11.  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator27`2[System.String,Mono.Cecil.AssemblyDefinition].MoveNext () [0x00000] in <filename unknown>:0
    12.  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
    13.  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
    14.  at System.Linq.Enumerable.ToArray[AssemblyDefinition] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
    15.  at Unity.IL2CPP.AssemblyConverter.Apply () [0x00000] in <filename unknown>:0
    16.  at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies (System.String[] assemblies, NiceIO.NPath outputDir) [0x00000] in <filename unknown>:0
    17. stderr:
    18.  
    19. Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: '/Users/myname/Unity4-Projects/Music Powered Games, Version=0.0, Culture=neutral, PublicKeyToken=null'
    20.  at Unity.IL2CPP.Common.AssemblyLoader.Resolve (IMetadataScope scope) [0x00000] in <filename unknown>:0
    21.  at Unity.IL2CPP.Common.AssemblyLoader.Load (System.String name) [0x00000] in <filename unknown>:0
    22.  at Unity.IL2CPP.AssemblyConverter+<Apply>c__AnonStorey9.<>m__0 (System.String path) [0x00000] in <filename unknown>:0
    23.  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator27`2[System.String,Mono.Cecil.AssemblyDefinition].MoveNext () [0x00000] in <filename unknown>:0
    24.  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
    25.  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
    26.  at System.Linq.Enumerable.ToArray[AssemblyDefinition] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
    27.  at Unity.IL2CPP.AssemblyConverter.Apply () [0x00000] in <filename unknown>:0
    28.  at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies (System.String[] assemblies, NiceIO.NPath outputDir) [0x00000] in <filename unknown>:0
    29.  
    30. UnityEngine.Debug:LogError(Object)
    31. UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase)
    32. UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String)
    33. UnityEditorInternal.IL2CPPBuilder:Run()
    34. UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry)
    35. UnityEditor.HostView:OnGUI()
    36.  
    3.
    Code (CSharp):
    1.  
    2. Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/build/il2cpp.exe did not run properly!
    3.  
    4.  

    Now do you notice anything funny about the third one? Hint: I'm on a Mac... and its trying to run "il2cpp.EXE". Seems like a bit of an oversight when they built the mac version out to me.



    ANYWAYS... I thought.. oh what the hell... I'll go get 4.6.7 ... I KNOW it works. Thats the version I did my release for iOS on.

    So I delete 4.6.9f1 from my machine, and I go download the installer for 4.6.7. It finishes downloading, so i go to my downloads folder and double click on "unity-4.6.7.dmg" and run the installer. It finishes installing and I run it.

    I try to make a build and BAM same error messages as above... So I'm thinking... "I DO have 4.6.7 right?" so I click Unity->About Unity.. and guess what I see... 4.6.9f1!!!! I'm like... am I losing my mind? So I uninstall it.. and run the installer again.. The same thing happens. So I'm like... maybe my installer disk image is messed up so I download it again.. and install it again... but low and behold... THE SAME THING HAPPENS.

    The 4.6.7 installer is INSTALLING 4.6.9!!! Normally thats not going to be a big deal right? But when 4.6.9 is preventing me from being able to do the one thing I need to do... its a HUGE problem.. especially when I'm paying for a pro license every month so that I don't have to worry about maintaining and bug-fixing my own engine...


    So.. Unity.. when can I expect this to be fixed? Before anyone asks, NO I cannot send in the project in a bug report, I do not own the IP and do not have permission to distribute the project.

    Also, some details about my environment: Late 2013 iMac 21" with 8gb ram 2.7 GHz Intel Core i5 running OS X El Capitan
     
  2. SentreStage

    SentreStage

    Joined:
    Aug 8, 2011
    Posts:
    25
  3. Yowling-Cat-Games

    Yowling-Cat-Games

    Joined:
    Dec 11, 2014
    Posts:
    37
    Have your tried to ....switch from.... .NET 2.0 Subset .....to .NET 2.0
    People in the past have tried it and worked.....

    Hope it helps.. ;)

    As far as the Unity 4.6.7 installer, I just finished installing it...and it installed 4.6.7..
    I'm on iMac Mid 2011 OS 10.9.5....16 gig, I5 2.5 GHZ..

    ...Now I have...4.6.7....4.6.9...5.1.2...5.1.4...5.3.0...all work just fine....I don't know
    what to say.. I hope you get to the bottom of it..


    Lar
     
    Last edited: Dec 15, 2015
  4. SentreStage

    SentreStage

    Joined:
    Aug 8, 2011
    Posts:
    25

    Hmm.. Very strange indeed. But yes, I tried tinkering with all of the Player settings to get something to build out, and the only thing that would allow it to happen was if I switch from IL2CPP to Mono. Thanks for the reply, I will try downloading again today and see what happens with the install.
     
  5. SentreStage

    SentreStage

    Joined:
    Aug 8, 2011
    Posts:
    25
    So this is becoming a major pain. I completely cleared my downloads, and any 4.x unity installations, even went into the Library folders and cleared out any 4.x files. Then I downloaded the installer again and installed it.

    This time it did install 4.6.7 correctly. However, I still cannot build out to iOS, though the behavior is a bit different now.

    When I build for iOS, I get the "Save Dialog" asking me where to save the build. I point it where it should go, and I click "Save". Then... nothing happens, Unity is doing nothing at this point, and looking at the folder in finder, it is just empty.

    So I opened up the editor log, and this is what I found:

    Code (CSharp):
    1.  
    Is this because 4.6.7 is not compatible with OS X El Capitan? What's going on here?