Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.2.X
Votes
0
Found in
Issue ID
954551
Regression
Yes
Unity sometimes deadlocks when entering play mode due to a race condition in PersistentManager
Main thread stack from hang dump:
ntdll.dll!RtlEnterCriticalSection()
Unity.exe!PersistentManager::IsObjectAvailable(int heapID) Line 1977
Unity.exe!GameObject::CheckConsistency() Line 765
Unity.exe!PersistentManager::CheckConsistencyObjectAndUnlockIntegrationMutexInternal(int instanceID) Line 1252
Unity.exe!TimeSliceAwakeFromLoadQueue::IntegrateTimeSliced(int timeoutMS) Line 144
Unity.exe!LoadSceneOperation::IntegrateTimeSliced(int timeSliceMS) Line 264
Unity.exe!PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags flags, int timeSliceMs) Line 454
Unity.exe!PreloadManager::WaitForAllAsyncOperationsToComplete() Line 561
Unity.exe!EditorSceneManager::RestoreSceneBackups(std::vector<EditorSceneManager::SceneBackup,stl_allocator<EditorSceneManager::SceneBackup,105,16> > & sceneBackups, EditorSceneManager::PlayModeChange mode, bool scriptsCouldBeChanged) Line 1021
Unity.exe!PlayerLoopController::EnterPlayMode(bool scriptsWereRecompiled) Line 468
Unity.exe!PlayerLoopController::SetIsPlaying(bool isPlaying) Line 361
Unity.exe!Application::TickTimer() Line 1952
Unity.exe!MainMessageLoop() Line 414
Unity.exe!WinMain(HINSTANCE__ * hInst, HINSTANCE__ * hPrev, char * szCmdLine, int nCmdShow) Line 1018
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
Add comment