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 LT23Live · May 07, 2015 at 10:29 PM · unity 5play

Unity 5 - Scene does not play!

My engine hangs when i press play on my scene! I don't know what I changed or did wrong but it hangs there, its been like that for 10 minutes already. None of the buttons work after i press play. it just stays in a state of scene load before play. IDK whats wrong can someone help?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by WillNode · May 08, 2015 at 01:35 AM

it's maybe happen on your script, if your script has something like this :

 void Start(){
  while(true)
  {
   //It never endings!
  }
 }

it could be your problem, unity will never responding (even on task manager status it's stays running) and you can see it using CPU Usage very high (On Quad-Core it would be around 25)

Comment
Add comment · Show 3 · 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 Dibbie · May 08, 2015 at 03:02 PM 1
Share

Good point, if you have any kind of endless loops running, or even attempt to have any loops in the "Update" function, the same thing will happen, seems like Unity doesnt like running for or while loops every frame :P

avatar image tanoshimi · May 08, 2015 at 05:32 PM 1
Share

Yep, from experience infinite loops are the most likely cause of Unity "hanging".

avatar image LT23Live · May 31, 2015 at 07:08 AM 1
Share

Thanks for the feedback, That was exactly the case. UE4 didnt like them either. Even if i put a delay it still does not like while loops.

avatar image
1

Answer by Dibbie · May 08, 2015 at 12:29 AM

That happens to me sometimes. Open up your Task Manager when it does this, and see under "Applications" if the "Status" for Unity is "Not Responding", if so, it crashed, and you will need to relaunch it.

If it says running, then its just lagging, you could have a lot going on in your scene at a time, or, if nothing at all, it could be that your computer is slow or something.

If it happens pretty much all the time, then its a compatibility issue with your computer. Check your computer specs and compare them to the recommendations on Unity 5, and see if you match or better them. If so, then its a corruption thing, and all you can really do is re-install Unity 5, or transfer it to another computer and work from there (I did that with my laptop, never crashes on there, even though my PC is 3x better...)

Beyond that, I wouldnt know how to help. Hopefully one of those solutions work out for you.

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 LT23Live · May 08, 2015 at 01:14 AM 0
Share

thank you for the prompt Response. idk why it crashes when i try to play, it does show up as not responding each time with the specific scene. I am going to try it on a new computer later. $$anonymous$$y laptop surpasses all the mi$$anonymous$$um requirements of unity.

  1. ghz i7 4500 series (overclock to 2.4) 8 gb Ram Nvidia Geforce 745m Graphics Card 1 tb HDD space.

avatar image LT23Live · May 08, 2015 at 01:14 AM 0
Share

one point 7 (even unity has autocorrect -.-*)

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

21 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

Related Questions

Another animation is not working 0 Answers

movietexture imports as black screen 4 Answers

hi.how save all sounds in my scene? 1 Answer

Unity stops while I work with my project 0 Answers

Choppy Game Screen 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