Search Issue Tracker
Fixed in 6000.4.0a6
Fixed in 6000.4.0b1, 6000.5.0a1
Votes
0
Found in
6000.0.51f1
6000.1.6f1
6000.2.0b5
6000.4.0a1
6000.5.0a1
Issue ID
UUM-108976
Regression
No
Crash on block_merge_next when updating a mesh
Steps to reproduce:
1. Open the “user’s attached project”
2. Create a 3D GameObject in the scene
3. Select the created GameObject and add the “Update Mesh” script Component through the Inspector
4. Under the “Update Mesh” component press the “Update Mesh” button
5. Observe the crash
Reproducible with: 6000.0.51f1, 6000.1.6f1, 6000.2.0b5
Couldn’t test with: 2021.3.52f1, 2022.3.63f1 (due to compiler errors)
Reproducible on: macOS 15.5 (M1 Max), Windows 11 (by the user)
Not reproducible on: no other environment tested
First few lines of StackTrace:
{noformat}
#0 0x000001059afb5c in block_merge_next
#1 0x000001032b3960 in DynamicHeapAllocator::Deallocate(void)
#2 0x000001032c08c4 in DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate(void)
#3 0x000001032bae48 in MemoryManager::TryDeallocateWithLabel(void, MemLabelId, char const, int)
#4 0x000001032b5768 in free_alloc_internal(void, MemLabelId const&, char const, int){noformat}
{noformat}
0x00007FFC580EA54C (Unity) block_locate_free
0x00007FFC580EACF2 (Unity) tlsf_memalign
0x00007FFC55C4DD6B (Unity) DynamicHeapAllocator::Allocate
0x00007FFC55C5CE75 (Unity) DualThreadAllocator<DynamicHeapAllocator>::Allocate
0x00007FFC55C4E59D (Unity) MemoryManager::Allocate{noformat}
Workaround:
The issue can be mitigated by ensuring that SubMeshDescriptor.baseVertex does not result in out of bound indexing of the vertex buffer. Validation and error handling has been improved in versions where this case is resolved as fixed.
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
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Resolution Note (fix version 6000.4.0a6):
Graphics: Fixed a crash when recalculating normals or tangents on a mesh with an incorrect base vertex.
Resolution Note:
post-poned
Resolution Note (fix version 6000.5.0a1):
Graphics: Fixed a crash when recalculating normals or tangents on a mesh with an incorrect base vertex.