x


App Crash IE8 - UnityScriptCompiler

Couldn't find this error anywhere on the forums, so I wanted to check if anyone has seen it before I submit a bug report.

It's only happening in IE8 for me, not Firefox, when running the web player and is happening with a new project using the sample scene provided by default. It appears to be something environment related but I've double checked and haven't installed anything in a few weeks and am not sure where or how to modify the MONO_PATH variable. As soon as the web player loads and starts the Unity splash screen it crashes. A reinstall of the web player didn't help, I'll move on to uninstalling Unity next. Web player log has:

100608 10:24:16 ------------------------------------------------------------
100608 10:24:16 Instance starting, version 2.6.1f3_31223
100608 10:24:16 Datafile file:///C:/Projects/Dev/Unity/Empty/Empty/Empty.unity3d
web: player version 2.6.1f3
Direct3D:
    Version:  Direct3D 9.0c [igdumdx32.dll 7.15.10.1527]
    Renderer: Mobile Intel(R) 4 Series Express Chipset Family
    Vendor:   Intel
    VRAM:     1545 MB
D3D: disabling fullscreen on Vista+IE8
web: load mono

Here is the app crash report in IE8

Could not start compilationArgumentException: Key duplication when adding: MONO_PATH
System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) 
System.Collections.Hashtable.Add (System.Object key, System.Object value) 
System.Collections.Specialized.ProcessStringDictionary.Add (System.String key, System.String value) 
UnityEditor.CompilerHelper+BackgroundProcess..ctor (System.String command, System.Collections.ArrayList arguments, Boolean supportResponseFile) 
UnityEngine.ScriptCompilers.UnityScriptCompiler.BeginCompiling (System.String[] sources, System.String[] references, System.String[] defines, System.String outputFile) [0x00000]
more ▼

asked Jun 08 '10 at 03:43 PM

Tray gravatar image

Tray
105 6 6 12

A reinstall of Unity Editor and Unity Web Player did NOT help the situation.

Jun 08 '10 at 04:49 PM Tray
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I suspect you manually have set MONO_PATH as an environment variable, and our scriptcompiler's code isn't expecting that. I'm pretty sure I fixed this bug for Unity3.

more ▼

answered Jun 08 '10 at 05:13 PM

Lucas Meijer 1 gravatar image

Lucas Meijer 1 ♦♦
7.9k 19 43 85

Ok, well then can I have a copy of Unity3? jk. I've checked my environment variables and I do not have a MONO_PATH entry. I've uninstalled the Mono framework, Mono Develop and Unity Editor and then reinstalled them in that order, Mono Framework 2.6.3, Mono Develop and then Unity Editor and I get the same problem.

Any suggestions for those of us using Unity 2.6? Perhaps I should be setting a MONO_PATH entry to something concrete?

Jun 08 '10 at 05:54 PM Tray

Try looking in control panel -> system properties -> advanced ->environment variables. It is very likely setup there. also, open a cmd.exe dosbox, and write:

echo %MONO_PATH%

to see if it's defined.

Jun 11 '10 at 02:37 PM Lucas Meijer 1 ♦♦
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x590
x128
x32

asked: Jun 08 '10 at 03:43 PM

Seen: 1203 times

Last Updated: Jun 08 '10 at 03:43 PM