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 Tray · Jun 08, 2010 at 03:43 PM · crashexceptionargumentexception

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]

Comment
Add comment · Show 1
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 Tray · Jun 08, 2010 at 04:49 PM 0
Share

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Lucas Meijer 1 · Jun 08, 2010 at 05:13 PM

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.

Comment
Add comment · Show 2 · 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 Tray · Jun 08, 2010 at 05:54 PM 0
Share

Ok, well then can I have a copy of Unity3? jk. I've checked my environment variables and I do not have a $$anonymous$$ONO_PATH entry. I've uninstalled the $$anonymous$$ono framework, $$anonymous$$ono Develop and Unity Editor and then reinstalled them in that order, $$anonymous$$ono Framework 2.6.3, $$anonymous$$ono 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 $$anonymous$$ONO_PATH entry to something concrete?

avatar image Lucas Meijer 1 ♦♦ · Jun 11, 2010 at 02:37 PM 0
Share

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 %$$anonymous$$ONO_PATH%

to see if it's defined.

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

No one has followed this question yet.

Related Questions

handling exceptions in JavaScript 1 Answer

iOS crash - how to locate exception 0 Answers

Unity 4.2 IOS Exception Handling 0 Answers

Unity Crash - Access Violation (0xc0000005) error 1 Answer

ArgumentException: get_value can only be called from the main thread 3 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