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 jonnyhopper · Aug 06, 2013 at 08:28 AM · crash

Unity 4.2 crash when editor recompiles project

Hi there,

I have a project that builds fine in Mono, but as soon as I switch back to Unity 4.2 the editor recompile kicks in. The loading spinner does its thing and stops (which usually indicates a reload in progress and should last a couple of seconds). Then Unity hangs every time.

I've tried cleaning my build, deleting all temp directories etc and reinstalling Unity. I'm on a 2009 15" Macbook Pro.

Any ideas? Are there any other settings files hidden around I should get rid of to start from a "clean" install?

Thanks, Jonny

Comment
Add comment · Show 5
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 killer-zog · Aug 06, 2013 at 09:01 AM 0
Share

try to uninstall unity4.2 and delete every temp data also clean the registry and go to Program Data and delete unity folder contains license file. also clean "windows installation directory\Users\your name\AppData\local\Unity"

"windows installation directory\Users\your name\AppData\locallow\Unity"

"windows installation directory\Users\your name\AppData\local\Roa$$anonymous$$g\Unity"

avatar image killer-zog · Aug 06, 2013 at 09:02 AM 0
Share

and after that reinstall unity using ad$$anonymous$$istrator privilege.

avatar image jonnyhopper · Aug 06, 2013 at 09:56 AM 0
Share

Thanks, but like I said I'm on a $$anonymous$$acbook. Are there OSX equivalents to the directories you describe?

avatar image ________ · Aug 06, 2013 at 10:05 AM 0
Share

Are you using and Prime31 plugins? I found that sometimes there was a duplicate Prime** something file that caused a crash.

avatar image jonnyhopper · Aug 06, 2013 at 02:20 PM 0
Share

Nope, no plugins

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Xtro · Aug 06, 2013 at 02:46 PM

If you don't have this problem on an empty project including a very basic script, then your project setup has a serious problem. Don't blame the environment. Maybe you have some chain links in between your scripts or something.

If you manage to compile on an empty project with a basic script, take a backup of your project and rip its parts one by one trying to find where the real problem is.

Comment
Add comment · Show 6 · 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 jonnyhopper · Aug 06, 2013 at 02:50 PM 0
Share

Thanks - I'll take a look. But like I said, compilation of the project is not a problem in $$anonymous$$ono, it's the reloading by Unity that causes issues.

avatar image Xtro · Aug 06, 2013 at 02:54 PM 0
Share

I'm talking about the chain links in unity project setup in the editor scene. Not the code. Of-course I'm not sure if this is the real problem. but it looks like you have the problem in the editor, not in the code.

Or... If you are dealing with an editor extension script, its runtime may crash the unity.

avatar image jonnyhopper · Aug 06, 2013 at 02:57 PM 0
Share

ah right, thanks I see what you mean. I'll see if it's that.

avatar image Xtro · Aug 08, 2013 at 07:17 PM 0
Share

did it help you out ?

avatar image jonnyhopper · Aug 08, 2013 at 08:59 PM 0
Share

Hey - thanks.

Yeah so I had a dodgy editor script that set a static variable... and when I took that out everything went back to normal. Thanks!

Show more comments

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

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Water effects crash mobile platform 1 Answer

unity android dll seg fault signal 11 0 Answers

Game Crash: DEMO.exe caused an Access Violation (0xc0000005) 0 Answers

Editor Crashes when spawning 1k objects 2 Answers

Unity opens 20+ windows, when importing asset 2 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