Search Issue Tracker

Fixed

Fixed in 2021.3.19f1, 2022.2.8f1, 2023.1.0a26

Votes

0

Found in

2021.3.13f1

2022.2.0f1

2023.1.0a23

Issue ID

UUM-19137

Regression

No

Crash on Mesh::RecalculateTangents when Recalculating Tangents

--

-

How to reproduce:

# Open the “IN-19623” project
# Open the “Main Scene” scene
# Enter Play Mode
# In the Hierarchy select the “Main Mesh(Clone)” GameObject
# Add the “Mesh Editor” Component script
# Click the “Recalculate Tangents” button in the “Mesh Editor”
# Observe the crash

Reproducible with: 2021.3.13f1
Could not test with: 2020.3.41f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a19 (compiler errors I couldn’t fix)

Reproduced on: Windows 10 (Intel)

First lines of stack trace:
0x00007ff6bf1aa1d9 (Unity) Mesh::RecalculateTangents
0x00007ff6bcd1b23f (Unity) Mesh_CUSTOM_RecalculateTangentsImpl
0x00000216581aeedc (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Mesh:RecalculateTangentsImpl (UnityEngine.Mesh,UnityEngine.Rendering.MeshUpdateFlags)
0x00000216581aeda3 (Mono JIT Code) UnityEngine.Mesh:RecalculateTangents (UnityEngine.Rendering.MeshUpdateFlags)
0x00000216581aed1b (Mono JIT Code) UnityEngine.Mesh:RecalculateTangents ()

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.