Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 mpavlinsky · Jan 03, 2012 at 11:44 PM · iosmacfreezeplay

Editor freezes after play

I have been having an issue with the Unity editor freezing 100% of the time when I play the game (regardless of starting scene it seems) and then end it gracefully by pressing the play button. The next time I either try to play it or quit via the menu after this Unity will just stop responding and I have to perform a force quit from activity monitor.

I am using Unity iOS Pro on an iMac (build targeted at iOS). I have opened other projects and it seems only this specific project has this behavior. I've tried both re-installing Unity and deleting and re-downloading my project from our version control and neither have helped.

Has anyone experienced anything like this or have any advice to offer?

Thanks in advance.

EDIT: Upon further inspection it just hangs for maybe 3 minutes, rather than freeze, so if I let it sit long enough it will eventually begin playing (although it is faster for me to just kill it and restart it). Also as a clarification I am able to run it the first time without incident, I only experience the hang on every attempt to play beyond the first.

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

3 Replies

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

Answer by mpavlinsky · Jan 04, 2012 at 09:05 PM

It turns out this was because there was a coroutine hanging indefinitely because our webserver had changed addresses. An update to the correct URL was all that was needed.

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 Rod-Green · Jan 04, 2012 at 09:41 PM 1
Share

$$anonymous$$ight want to add a timeout/fail state to that ;)

avatar image mpavlinsky · Jan 04, 2012 at 09:55 PM 0
Share

Heh, I agree. Is there any elegant way to handle timeouts other than subclassing WWW to have a timer?

avatar image
1

Answer by Rod-Green · Jan 03, 2012 at 11:53 PM

This could be an issue with one of your scripts. Does a blank scene cause the freeze also?

Unity serializes the scene on play and you may have some kind of infinate reference or something else it's getting stuck on.

Way to check - comment out, delete scripts until it works again. Find the script that is stopping it and post it back here for help on the issue.

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 saberboy117 · Jan 04, 2012 at 06:16 PM

It could also be error reports, if you have somthing that is producing a ton of error or print messages a second it tends to freeze mine for the most part, try using yeild; to restrict scripts like that.

Comment
Add comment · Show 1 · 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 mpavlinsky · Jan 04, 2012 at 06:25 PM 0
Share

Yeah I have had issues in the past with Debug spam causing issues, particularly on iOS hardware which ends up causing a 'broken pipe' error.

I believe that's not the case here because there is not a ton of spam in the console as it is hanging (save for a handful of warnings), and when it has finally started there is only one message I have logged.

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

6 People are following this question.

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

Related Questions

Unity 2019 iOS build problem 0 Answers

Access to path /???? is denied on Mac OS 2 Answers

project management of a Multi platform asset 1 Answer

Unity 5.3.1: Mac Crash playing a scene with baked lights. 2 Answers

Can I use unity as a portable editor by copying it from my windows computer to use it on a Mac thats in my college? 1 Answer


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