Search Unity

Internal compiler error running Unity3D 3.0 project under Unity3D 3.1

Discussion in 'Editor & General Support' started by driggger, Nov 27, 2010.

  1. driggger

    driggger

    Joined:
    Nov 12, 2010
    Posts:
    6
    I am trying to open a Unity project in Unity 3.1 that was created in a previous version (3.0, I believe). First it tells me that it is upgrading the project, then I get this error:

    Code (csharp):
    1. Internal compiler error. See the console log for more information. output was:error CS2011: Unable to open response file: Temp/UnityTempFile-7bca84849ef6866468a699e711c6e41f
    There is no additional information in the console log, just that message.

    Can someone tell me what this message is about, so I can try to figure out where to start troubleshooting the problem. (Even if I find the problem, fixing it may prove difficult unless I re-install 3.0.)

    Thanks,

    Lynn

    Lynn Grant
    Cross Design Group LTD
     
  2. driggger

    driggger

    Joined:
    Nov 12, 2010
    Posts:
    6
    Actually, there is more information when I click the "Editor Log" button:
    Code (csharp):
    1. BatchMode: 0, AmRunningOnBuildServer: 0, StartBugReporterOnCrash: 1, shouldGiveDebuggerChanceToAttach: 0
    2. Initialize mono
    3. Mono path[0] = 'C:/Program Files (x86)/Unity/Editor/Data/Mono/lib/mono/2.0'
    4. Mono path[1] = 'C:/Program Files (x86)/Unity/Editor/Data/Managed'
    5. Mono path[2] = 'C:/Program Files (x86)/Unity/Editor/Data/UnityScript'
    6. Direct3D:
    7.     Version:  Direct3D 9.0c [atiumdag.dll 8.14.10.678]
    8.     Renderer: ATI Radeon HD 3200 Graphics
    9.     Vendor:   ATI
    10.     VRAM:     256 MB
    11.     Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 DF24=1 INTZ=0 RAWZ=0 NULL=0 RESZ=1 SlowINTZ=1
    12. IsTimeToCheckForNewEditor: Update time 1290842440 current 1290892906
    13. LicenseInfo:InitializeProtection
    14.   open PACE from our own executable
    15.   opened PACE, get info...
    16.   checked authorization, authstate=100 r=0
    17.   ReadDeveloperData
    18.   ReadTokens
    19. Opening project via file: C:/Program Files (x86)/SFS2X-RC1/Client/Unity/Examples/SFS2X-Connector/Assets/Game/Scenes/connection.unity
    20. C:/Program Files (x86)/SFS2X-RC1/Client/Unity/Examples/SFS2X-Connector
    21.  
    22. Unloading -2 unused Assets to reduce memory usage. Loaded Objects now: 49.
    23. System memory in use: 73.6 MB.
    24. Unloading 20 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
    25. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEngine.dll (this message is harmless)
    26. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEditor.dll (this message is harmless)
    27. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.dll (this message is harmless)
    28. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.West.dll (this message is harmless)
    29. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Core.dll (this message is harmless)
    30. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.dll (this message is harmless)
    31. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\UnityScript.dll (this message is harmless)
    32. Mono: successfully reloaded assembly
    33. Non platform assembly: data-0B393D38 (this message is harmless)
    34. Non platform assembly: data-0B393D38 (this message is harmless)
    35. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.dll (this message is harmless)
    36. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.West.dll (this message is harmless)
    37. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Xml.dll (this message is harmless)
    38. Mono: successfully reloaded assembly
    39. Non platform assembly: data-0B47BDD0 (this message is harmless)
    40. Calculating changed assemblies
    41. End Calculating changed assemblies
    42. Compile Dirtymask 011111111111100
    43. Calculating changed assemblies
    44. End Calculating changed assemblies
    45. Calculating changed assemblies
    46. End Calculating changed assemblies
    47. - starting compile Library/ScriptAssemblies/Assembly-CSharp.dll, for buildtarget 5
    48. Filename: "C:/Program Files (x86)/Unity/Editor/Data/Mono\bin\mono.exe"
    49.  
    50. Arguments: "C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\smcs.exe"  @Temp/UnityTempFile-db9af43a75f72a04c92f938b23d7049c
    51.  
    52. MONO_PATH: C:/Program Files (x86)/Unity/Editor/Data/Mono\lib\mono\unity
    53.  
    54. index: 74
    55.  
    56. Responsefile: Temp/UnityTempFile-db9af43a75f72a04c92f938b23d7049c Contents:
    57.  
    58. -debug
    59.  
    60. -target:library
    61.  
    62. -nowarn:0169
    63.  
    64. -out:Temp/41a2915dae6a5584e9decbb97e0f535d.dll
    65.  
    66. -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll"
    67.  
    68. -r:Assets/Plugins/SmartFox2.dll
    69.  
    70. -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll"
    71.  
    72. -define:UNITY_3_1_0
    73.  
    74. -define:UNITY_3_1
    75.  
    76. -define:UNITY_EDITOR
    77.  
    78. -define:ENABLE_PROFILER
    79.  
    80. -define:UNITY_STANDALONE_WIN
    81.  
    82. -define:ENABLE_GENERICS
    83.  
    84. -define:ENABLE_DUCK_TYPING
    85.  
    86. -define:ENABLE_TERRAIN
    87.  
    88. -define:ENABLE_MOVIES
    89.  
    90. -define:ENABLE_NETWORK
    91.  
    92. -define:ENABLE_CLOTH
    93.  
    94. -define:ENABLE_WWW
    95.  
    96. Assets/Game/Scripts/ConnectionGUI.cs
    97.  
    98.  
    99.  
    100. -----CompilerOutput:-stdout--exitcode:1--compilationhadfailure:True--outfile:Temp/41a2915dae6a5584e9decbb97e0f535d.dll
    101.  
    102. -----CompilerOutput:-stderr----------
    103.  
    104. error CS2011: Unable to open response file: Temp/UnityTempFile-db9af43a75f72a04c92f938b23d7049c
    105.  
    106. -----EndCompilerOutput---------------
    107.  
    108. error CS2011: Unable to open response file: Temp/UnityTempFile-db9af43a75f72a04c92f938b23d7049c
    109.  
    110. - Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
    111. Internal compiler error. See the console log for more information. output was:error CS2011: Unable to open response file: Temp/UnityTempFile-db9af43a75f72a04c92f938b23d7049c
    112.  
    113. (Filename:  Line: 0)
    114.  
    115.     Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\Mono.Cecil.dll (this message is harmless)
    116. Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\Boo.Lang.dll (this message is harmless)
    117.  
    118. Unloading 17 unused Assets to reduce memory usage. Loaded Objects now: 309.
    119. System memory in use: 118.7 MB.
    120. Unloading 3 Unused Serialized files (Serialized files now loaded: 1 / Dirty serialized files: 1)
    121. <I> Initializing (RawInput).
    122.  
    123. <RI> Input initialized.
    124.  
    125. EditorUpdateCheck: Response {updateinterval: '3600'} updateurl =  interval = 3600
    126. All compiler errors have to be fixed before you can enter playmode!
    127. UnityEngine.Debug:Internal_Log(Int32, String, Object)
    128. UnityEngine.Debug:LogError(Object)
    129. UnityEditor.SceneView:ShowCompileErrorNotification() (at E:\BuildAgent\work\71ca6fec1b41cc30\Editor\Mono\SceneView\SceneView.cs:1165)
    130.  
    131. (Filename: E:/BuildAgent/work/71ca6fec1b41cc30/Editor/Mono/SceneView/SceneView.cs Line: 1165)
    132.  
    133. Refresh: trashing asset af38157716ceb4b578647190ebcdb21d
    134. Calculating changed assemblies
    135. End Calculating changed assemblies
    136. Calculating changed assemblies
    137. End Calculating changed assemblies
    138. - starting compile Library/ScriptAssemblies/Assembly-CSharp.dll, for buildtarget 5
    139. Filename: "C:/Program Files (x86)/Unity/Editor/Data/Mono\bin\mono.exe"
    140.  
    141. Arguments: "C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\smcs.exe"  @Temp/UnityTempFile-41c3ac5a486132f4ea397fa6bc0d8bbb
    142.  
    143. MONO_PATH: C:/Program Files (x86)/Unity/Editor/Data/Mono\lib\mono\unity
    144.  
    145. index: 74
    146.  
    147. Responsefile: Temp/UnityTempFile-41c3ac5a486132f4ea397fa6bc0d8bbb Contents:
    148.  
    149. -debug
    150.  
    151. -target:library
    152.  
    153. -nowarn:0169
    154.  
    155. -out:Temp/4642e331d219d0c4d922ad7f13d4a3a6.dll
    156.  
    157. -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll"
    158.  
    159. -r:"C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll"
    160.  
    161. -define:UNITY_3_1_0
    162.  
    163. -define:UNITY_3_1
    164.  
    165. -define:UNITY_EDITOR
    166.  
    167. -define:ENABLE_PROFILER
    168.  
    169. -define:UNITY_STANDALONE_WIN
    170.  
    171. -define:ENABLE_GENERICS
    172.  
    173. -define:ENABLE_DUCK_TYPING
    174.  
    175. -define:ENABLE_TERRAIN
    176.  
    177. -define:ENABLE_MOVIES
    178.  
    179. -define:ENABLE_NETWORK
    180.  
    181. -define:ENABLE_CLOTH
    182.  
    183. -define:ENABLE_WWW
    184.  
    185. Assets/Game/Scripts/ConnectionGUI.cs
    186.  
    187.  
    188.  
    189. -----CompilerOutput:-stdout--exitcode:1--compilationhadfailure:True--outfile:Temp/4642e331d219d0c4d922ad7f13d4a3a6.dll
    190.  
    191. -----CompilerOutput:-stderr----------
    192.  
    193. error CS2011: Unable to open response file: Temp/UnityTempFile-41c3ac5a486132f4ea397fa6bc0d8bbb
    194.  
    195. -----EndCompilerOutput---------------
    196.  
    197. error CS2011: Unable to open response file: Temp/UnityTempFile-41c3ac5a486132f4ea397fa6bc0d8bbb
    198.  
    199. - Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
    200. Internal compiler error. See the console log for more information. output was:error CS2011: Unable to open response file: Temp/UnityTempFile-41c3ac5a486132f4ea397fa6bc0d8bbb
    201.  
    202. (Filename:  Line: 0)
    203.  
    204.  
    205. Unloading 311 unused Assets to reduce memory usage. Loaded Objects now: 717.
    206. System memory in use: 144.0 MB.
    207. Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
    208.  
     
  3. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,624
    Your project is in C:/Program Files (x86)/
    This is read-only for all programs
    So unity can't create that Responsefile and read it afterwards
    The morale is - never ever put you project into read-only project - unity won't work
     
  4. Sil3nt Pr0digy

    Sil3nt Pr0digy

    Joined:
    Jan 20, 2010
    Posts:
    21
    Yep, just turn off read-only in the folder settings and that should solve your problem, cheers!
     
  5. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,624
    Just in case - you won't be able to do it for your Program Files folder - so just move it out ;-)
     
  6. driggger

    driggger

    Joined:
    Nov 12, 2010
    Posts:
    6
    Thanks. I should have though of that. The SFS2X installation puts the example scenes under the Program Files (x86) folder. When you run them, Unity says it needs to upgrade them (since they were made with Unity3D 3.0). It's got to write them somewhere.

    Obviously, it worked much better when I moved them somewhere else.

    Thanks for helping me out while I was having a slow brain day :)

    Lynn

    Lynn Grant
    Cross Design Group LTD
     
  7. Keywarn

    Keywarn

    Joined:
    May 6, 2012
    Posts:
    0
    Just chosen to use untiy again and kept getting errors (wanted to store assets etc with unity's files) Thank you...
     
  8. MechWolf117

    MechWolf117

    Joined:
    Oct 3, 2015
    Posts:
    1
    Where do I find my file?
    Where do I put it?
    How do you turn off read-only?

    You guys gotta be more descriptive in explaining things. Not everyone has experience with a computer.