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 /
  • Help Room /
avatar image
0
Question by 121GWJolt · Mar 31, 2017 at 07:07 PM · editorbugloadingadvancedwtf

Unity doesn't load even after upgrade: Unity threads stuck waiting when opening or creating any project

Whenever I try to load or create a project in Unity (a.k.a. open anything but the project select screen), it gets stuck waiting for an event that never comes. Using ProcessHacker, I inspected the running process, and what always happens is that a few, specific threads get stuck in Wait for things that never come. These three threads are the only ones using the CPU, two of them are set at "Highest" priority, and one is set to 13. All three of them also have a starting address of Unity.exe+0x1acf560. The one that I most suspect to be the issue is a thread that gets stuck waiting for an event within the body of ntoskrnl.exe!KiDeliverApc+0x134, with the last function from Unity.exe being Unity.exe+0x22216e5, which makes a syscall to KernelBase.dll!WaitForSingleObjectEx+0x8f. These addresses never change for me. This thread is also specifically stuck in the "Wait:UserRequest" state specifically, and has the highest CPU usage of the three problem threads.

The odd thing here is the event that this thread is waiting for. ProcessHacker has the ability to set, reset, and pulse an event if you have the handle for it. Furthermore, for most threads waiting, it can tell you what handle that thread is waiting for. Using this, I managed to find the event it was waiting for. Now, I know for a fact that ProcessHacker CAN set values for these events. I have successfully seen several events become reported as "true" after telling them to set, and managed to cancel a timer within the program.

The odd thing with this problem thread is that, no matter how much I try, I CANNOT set the event this thread is waiting on. Every attempt just silently fails for no apparent reason, so the thread waits forever as the Event it waits on refuses to change state. I have no idea whether this is a bug in Unity or something to do with my system, but it's been like this across two versions now. It used to work, too. Even if you cannot resolve or replicate this issue for me, I'd at least like some guidance on what to do. Like I said, I have upgraded this thing from a non-working 5.5 to a still-non-working 5.6. I have no clue WHAT could cause this, but at this point I feel like I need to see this through to the end and figure out what the heck is going on here. Any and all help would be appreciated. It's pretty consistent about the point of failure no matter what, so I can probably get any extra data you'd need with little trouble.

So, anyone willing to follow me down the rabbit hole?

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

1 Reply

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

Answer by 121GWJolt · Apr 03, 2017 at 07:05 PM

So, I wound up answering my own question. Firing up procmon, I found that the editor had placed a log file in appdata/local. Opened it, and it mentioned a download task failing. Turns out that my firewall was blocking Unity, even though I had all outbound connections allowed. Whitelisted Unity and the problem was fixed at last.

Though, something like this should NOT silently fail the way it did.

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

112 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 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 Mac version 5.2.3f1 crash every time after 5 minutes 0 Answers

My map turns blue red and green always! 0 Answers

Still Unity3D Editor 2017.2 , Freezing in Mac OS High Sierra 3 Answers

Overwriting fbx file in Unity 2017.3.of3 causes Maya 2014 64x to crash. how do I Fix This? 0 Answers

Scene camera angle stuck 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