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

(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:

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/keithbrewer/Unity4-Projects/Mxxxx Pxxxxxx Gxxxx, Version=0.0, Culture=neutral, PublicKeyToken=null'
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"

stdout;
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/myname/Unity4-Projects/Music Powered Games, Version=0.0, Culture=neutral, PublicKeyToken=null'
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'
  at Unity.IL2CPP.Common.AssemblyLoader.Resolve (IMetadataScope scope) [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.Common.AssemblyLoader.Load (System.String name) [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.AssemblyConverter+<Apply>c__AnonStorey9.<>m__0 (System.String path) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator27`2[System.String,Mono.Cecil.AssemblyDefinition].MoveNext () [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable.ToArray[AssemblyDefinition] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.AssemblyConverter.Apply () [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies (System.String[] assemblies, NiceIO.NPath outputDir) [0x00000] in <filename unknown>:0
stderr:

Unhandled Exception: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: '/Users/myname/Unity4-Projects/Music Powered Games, Version=0.0, Culture=neutral, PublicKeyToken=null'
  at Unity.IL2CPP.Common.AssemblyLoader.Resolve (IMetadataScope scope) [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.Common.AssemblyLoader.Load (System.String name) [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.AssemblyConverter+<Apply>c__AnonStorey9.<>m__0 (System.String path) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator27`2[System.String,Mono.Cecil.AssemblyDefinition].MoveNext () [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Mono.Cecil.AssemblyDefinition]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable.ToArray[AssemblyDefinition] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.AssemblyConverter.Apply () [0x00000] in <filename unknown>:0
  at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies (System.String[] assemblies, NiceIO.NPath outputDir) [0x00000] in <filename unknown>:0

UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase)
UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String)
UnityEditorInternal.IL2CPPBuilder:Run()
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry)
UnityEditor.HostView:OnGUI()
Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/build/il2cpp.exe did not run properly!

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

bump

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… :wink:

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

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.

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:

2015-12-15 14:54:13.256 Unity[30369:1694515] -[NSURL length]: unrecognized selector sent to instance 0x186ef890
2015-12-15 14:54:13.274 Unity[30369:1694515] -[NSURL length]: unrecognized selector sent to instance 0x186ef890
2015-12-15 14:54:13.282 Unity[30369:1694515] (
    0   CoreFoundation                      0x96b8fc19 __raiseError + 201
    1   libobjc.A.dylib                     0x9b84af11 objc_exception_throw + 276
    2   CoreFoundation                      0x96b936c3 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
    3   CoreFoundation                      0x96a8531c ___forwarding___ + 1020
    4   CoreFoundation                      0x96a84efe _CF_forwarding_prep_0 + 14
    5   Foundation                          0x9a419fc1 -[NSFileManager fileExistsAtPath:] + 56
    6   Unity                               0x016ca7e9 -[AppendSavePanel _overwriteExistingFileCheck:] + 57
    7   AppKit                              0x9d8b20e5 -[NSSavePanel _okForSaveMode] + 372
    8   AppKit                              0x9d8b2fe1 -[NSSavePanel ok:] + 322
    9   libobjc.A.dylib                     0x9b8449e4 -[NSObject performSelector:withObject:] + 70
    10  AppKit                              0x9d421556 __36-[NSApplication sendAction:to:from:]_block_invoke + 51
    11  libsystem_trace.dylib               0x9deac3c9 _os_activity_initiate + 85
    12  AppKit                              0x9d421477 -[NSApplication sendAction:to:from:] + 610
    13  AppKit                              0x9d434e69 -[NSControl sendAction:to:] + 102
    14  AppKit                              0x9d434d5d __26-[NSCell _sendActionFrom:]_block_invoke + 176
    15  libsystem_trace.dylib               0x9deac3c9 _os_activity_initiate + 85
    16  AppKit                              0x9d434c8c -[NSCell _sendActionFrom:] + 161
    17  AppKit                              0x9d69108d __48-[NSCell trackMouse:inRect:ofView:untilMouseUp:]_block_invoke1010 + 43
    18  libsystem_trace.dylib               0x9deac3c9 _os_activity_initiate + 85
    19  AppKit                              0x9d433039 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2744
    20  AppKit                              0x9d47f64b -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 809
    21  AppKit                              0x9d431668 -[NSControl mouseDown:] + 693
    22  AppKit                              0x9da1ebff -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6266
    23  AppKit                              0x9da20406 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2303
    24  AppKit                              0x9d3bd71f -[NSWindow sendEvent:] + 567
    25  AppKit                              0x9d338bf2 -[NSApplication sendEvent:] + 2919
    26  Unity                               0x016d95af -[ForwardSendEvent sendEvent:] + 159
    27  AppKit                              0x9d428564 -[NSApplication _modalSession:sendEvent:] + 1296
    28  AppKit                              0x9d427fb2 -[NSApplication _realDoModalLoop:peek:] + 854
    29  AppKit                              0x9d427c54 -[NSApplication _doModalLoop:peek:] + 207
    30  AppKit                              0x9d4254f8 -[NSApplication runModalForWindow:] + 324
    31  AppKit                              0x9d8b0bc1 -[NSSavePanel runModal] + 873
    32  AppKit                              0x9d8af288 -[NSSavePanel runModalForDirectory:file:types:] + 301
    33  AppKit                              0x9d8b07e2 -[NSSavePanel runModalForDirectory:file:] + 56
    34  Unity                               0x016ca434 _Z29RuniPhoneReplaceOrAppendPanelRKSsS0_S0_ + 212
    35  Unity                               0x01505f4e _Z17RunSaveBuildPanel19BuildTargetPlatformRKSsS1_S1_S1_ + 46
    36  Unity                               0x00fe24bb _Z35EditorUtility_CUSTOM_SaveBuildPanel19BuildTargetPlatform11ICallStringS0_S0_S0_ + 155
    37  ???                                 0x1642fbf4 0x0 + 373488628
    38  ???                                 0x1642f06e 0x0 + 373485678
    39  ???                                 0x1642e540 0x0 + 373482816
    40  ???                                 0x1642ddd7 0x0 + 373480919
    41  ???                                 0x15e8fe83 0x0 + 367591043
    42  ???                                 0x16402226 0x0 + 373301798
    43  ???                                 0x15e87e82 0x0 + 367558274
    44  ???                                 0x07174b4f 0x0 + 118967119
    45  libmono.0.dylib                     0x047ee5ce mono_get_runtime_build_info + 3344
    46  libmono.0.dylib                     0x04922393 mono_runtime_invoke + 133
    47  libmono.0.dylib                     0x04928a37 mono_runtime_invoke_array + 1002
    48  libmono.0.dylib                     0x048e103e mono_register_jit_icall + 39921
    49  ???                                 0x14e2c6b0 0x0 + 350406320
    50  ???                                 0x14e2beb5 0x0 + 350404277
    51  ???                                 0x14e33725 0x0 + 350435109
    52  ???                                 0x14fec1c3 0x0 + 352240067
    53  ???                                 0x14fec127 0x0 + 352239911
    54  ???                                 0x15e8680b 0x0 + 367552523
    55  ???                                 0x07174b4f 0x0 + 118967119
    56  libmono.0.dylib                     0x047ee5ce mono_get_runtime_build_info + 3344
    57  libmono.0.dylib                     0x04922393 mono_runtime_invoke + 133
    58  Unity                               0x007312dc _Z23scripting_method_invoke19ScriptingMethodMonoP10MonoObjectR18ScriptingArgumentsPP13MonoException + 60
    59  Unity                               0x0097bb11 _ZN25ScriptingInvocationNoArgs6InvokeEPP13MonoException + 145
    60  Unity                               0x0095a42c _ZN13MonoBehaviour5DoGUIENS_13GUILayoutTypeEi + 588
    61  Unity                               0x016cdfdf _ZN7GUIView12OnInputEventER10InputEvent + 639
    62  Unity                               0x016ce98a -[GUIOpenGLView mouseUp:] + 90
    63  AppKit                              0x9da1ee4c -[NSWindow _handleMouseUpEvent:isDelayedEvent:] + 106
    64  AppKit                              0x9da20406 -[NSWindow _reallySendEvent:isDelayedEvent:] + 2303
    65  AppKit                              0x9d3bd71f -[NSWindow sendEvent:] + 567
    66  AppKit                              0x9d338bf2 -[NSApplication sendEvent:] + 2919
    67  Unity                               0x016d95af -[ForwardSendEvent sendEvent:] + 159
    68  AppKit                              0x9d18c07b -[NSApplication run] + 1159
    69  AppKit                              0x9d1526a4 NSApplicationMain + 1630
    70  Unity                               0x016d9c0b _Z10EditorMainiPPKc + 1467
    71  Unity                               0x016da388 main + 24
    72  Unity                               0x00003635 start + 53
    73  ???                                 0x00000005 0x0 + 5

Is this because 4.6.7 is not compatible with OS X El Capitan? What’s going on here?