Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 SamuelRoos · Sep 18, 2017 at 06:55 PM · crashfreezecrashing

Unity 2017.1f1 Freezes while compiling scripts

My Unity started to freeze every time i compile scripts few days ago. The loading "circle" on bottom right corner just freezes and so does Unity, so i have to stop the process from task manager. Restarting Unity obviously didn't work and i also tried to restart my pc. I'm using Photon on my project and i have heard that some people had same issue with photon but their solutions didnt work for me.

Comment
Add comment · Show 4
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 NeanderG · Oct 04, 2017 at 09:33 AM 0
Share

We are currently also experiencing this problem. Could you tell me which solutions you already have tried?

avatar image YaserDev · Jul 19, 2018 at 12:08 PM 0
Share

I have been facing the same problem for a long time, with unity 2017.x (not only a specific version) and unity 2018.1.x. I 'm not using Photon. Have you found any solution?

avatar image NeanderG YaserDev · Jul 19, 2018 at 12:48 PM 0
Share

No real fix no :/ What we have implemented is a script that checks if unity is in play mode and compiling and then forces play mode to stop. This way it won't hang when you change something during play mode. Like this: http://www.rebz.org/2014/05/gist-stop-playing-on-recompile

avatar image YaserDev NeanderG · Jul 19, 2018 at 03:10 PM 0
Share

In my case, the problem was first happening if I edit a script during play mode, I solved it in the same way as yours (It was because of a server plugin, called GameSparks). But later, unity started to freeze after editing a script in editor mode, it happens very frequently, but not always, so I still haven't pinpointed a specific reason. It really kills your time, especially if you are working on the gameplay mechanics, which needs a lot of trails and errors.

3 Replies

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

Answer by SamuelRoos · Nov 21, 2018 at 05:05 PM

Quick fix if you get stuck is just to reimport the script(s) you've changed.

Comment
Add comment · 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
0

Answer by Must_I_have_a_name · Oct 01, 2018 at 10:05 PM

I am having something similar happening. I ...think... it is because I have a script which has many,many errors in it. I am working on writing a method which has hundreds of lines in it with the predominant error being an invalid,incorrect calls(hundreds of such error calls) to a method in the same class. If I go back and comment out the entire contents of the script then the freeze on "compiling scripts" goes away. I speculate the reason it is freezing is either 1)totally cannot cope with that many errors or 2)there's a combinatorial explosion in the amount of processing required to compile.it might never finish compiling,i ran out of patience. the editor also will not shut down normally.

Comment
Add comment · 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
0

Answer by $$anonymous$$ · Oct 23, 2018 at 10:06 AM

My solution:

Close all programs when compilating, and disable firewall, the last is very important!

Comment
Add comment · 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

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

76 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 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 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 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity freezes sometimes when I'm tabbed out. 0 Answers

Unity Only Crashes in Editor, not in Build App 0 Answers

iOS game freezes on startup 0 Answers

Webplayer Freeze / Crash After Facebook Interaction 0 Answers

IOS crashes with an EXC_BAD_ACCESS on a thread running com.apple.avfoundation.videodataoutput.bufferqueue 0 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