Search Issue Tracker
Won't Fix
Votes
8
Found in
2020.3.35f1
Issue ID
UUM-7652
Regression
No
Crash on entering Play Mode when using Cloth component on a mesh with changed vertex count
Reproduction steps:
1. Open the attached project
2. Open "Assets/Scenes/new_char_test"
3. Enter Play Mode
4. If no crash occurs, exit Play Mode
Expected result: Editor enters Play Mode successfully
Actual result: Editor crashes
Reproducible with: 2021.3.34f1, 2022.3.16f1, 2023.2.4f1, 2023.3.0b1
Reproducible on: Windows 10, Windows 11, macOS Sonoma 14.0 (Intel)
Notes:
- disabling the "cloth" GameObject under "Prototype Character" stops the crashing
- multiple errors "ArgumentNullException: Value cannot be null." and "IndexOutOfRangeException: Index was outside the bounds of the array." can be seen in the Console
First lines of stacktrace:
0x00007FF6877C0CC3 (Unity) ProcessCameraIndexListIsNodeVisibleStep1
0x00007FF68775AB91 (Unity) CullDynamicObjectsJob
0x00007FF6879AA54C (Unity) JobQueue::Exec
0x00007FF6879AC4A1 (Unity) JobQueue::Steal
0x00007ff689785cb4 (Unity) tlsf_free
0x00007ff68769e552 (Unity) DynamicHeapAllocator::Deallocate
0x00007ff6876abc0f (Unity) DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate
0x00007ff68769edeb (Unity) MemoryManager::Deallocate
0x00007ff6876a7e7a (Unity) free_alloc_internal
0x00007ff749c15366 (Unity) PreOrderPlayableTraverser::Traverse
0x00007ff749c141cb (Unity) PreOrderPlayableTraverser::RecursiveVisit
0x00007ff749c1548e (Unity) PreOrderPlayableTraverser::Traverse
0x00007ff749c141cb (Unity) PreOrderPlayableTraverser::RecursiveVisit
0x00007ff749c1548e (Unity) PreOrderPlayableTraverser::Traverse
0x00007ff745926923 (Unity) Scripting::FindObjectsOfType
0x00007ff745845bf5 (Unity) Resources_Bindings::FindObjectsOfTypeAll
0x00007ff744964d21 (Unity) ResourcesAPIInternal_CUSTOM_FindObjectsOfTypeAll
0x0000017315f9fa5a (Mono JIT Code) (wrapper managed-to-native) UnityEngine.ResourcesAPIInternal:FindObjectsOfTypeAll (System.Type)
0x00007ff6ebfddc5d (Unity) Material_CUSTOM_SetFloatImpl
0x000001cd5e0ac4f9 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Material:SetFloatImpl (UnityEngine.Material,int,single)
0x000001cd5e0ac3fb (Mono JIT Code) UnityEngine.Material:SetFloat (int,single)
0x000001cd5e0ac373 (Mono JIT Code) UnityEditor.UIElements.EditorPanel:OnUpdateMaterial (UnityEngine.Material)
Comments (3)
-
lacas8282
Apr 22, 2023 19:30
Any news on this? In unity 2022 there is no fix
-
Johane
Feb 23, 2023 09:37
My editor starts playmode really slow and if I disable "reload scene" it crashes immediately. Removing the cloth comments seems to fix the issues.
-
adamgryu
Jan 25, 2023 00:50
Are there any workarounds for this issue? I updated to Unity 2022.2 from 2021.3, and the game crashes unless I disable all cloth.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
- Joint Gizmos for anchor and connectedAnchor do not respect their defined bodies when Swap Bodies is enabled
- Project Settings window opens up with a blank details pane when the "Configure" button is clicked in the Package Manager after installing the Cloud Diagnostics package
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
Resolution Note:
There are no fixes planned for this Bug