Unity Issue Tracker - Some tangents return NaN when the Tangents calculation method is set to Mikktspace
Fixed
UUM-35817
Some tangents return NaN when the Tangents calculation method is set to Mikktspace
Unity: Asset Importers
Open
2020.3.X
Fixed
2023.3.X
2022.3.X
2021.3.X
Won't Fix
2023.2.X
2023.1.X
2022.2.X
Fixed some tangents returning nan in Mikktspace tangent calculation.
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. In the Hierarchy Window select “1” Game Object
4. In the Inspector Window right-click the “Check for Na N Tangents (Script)” Component and select “Check for Tangents NaNs"
5. Observe the Console Window
Expected result: Tangents were calculated correctly and no LogErrors are thrown
Actual result: Tangents were calculated incorrectly and multiple “Tangent 26912 is NaN” LogErrors are thrown