Search Issue Tracker

In Progress

Under Consideration for 2021.3.X, 2022.3.X

Fix In Review for 6000.0.X

Votes

0

Found in

2021.3.44f1

2022.3.46f1

6000.0.16f1

7000.0.0a1

Issue ID

UUM-79322

Regression

No

Crash on MiniHeightMap::ExtractNormalMap<0,0> when 16k Map Size is applied with Create from Grayscale enabled

--

-

Reproduction steps:
1. Open the “ReproProject“ project
2. Select the “Assets/Images/Map_NRM_16“ asset
3. Change Map Size to “16384“ under the iOS settings in the Inspector window
4. Observe the Editor

Expected result: The Map Size is changed to “16384“
Actual result: The Editor crashes

Reproducible with: 2021.3.44f1, 2022.3.46f1, 2023.2.0a2, 6000.0.16f1, 7000.0.0a1

Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: macOS Sonoma 14.6.1 (M1 Pro)

First few lines of the stack trace:
0x00007FF897F01888 (Unity) MiniHeightMap::ExtractNormalMap<0,0>
0x00007FF897F13504 (Unity) ConvertHeightToNormalMap
0x00007FF897F1ABAE (Unity) ProcessMipLevel
0x00007FF897F1A684 (Unity) ProcessImportedImageElement
0x00007FF897F19D7B (Unity) ProcessImportedImage
0x00007FF897EF259F (Unity) TextureGenerator::CreateTexture2DAsset
0x00007FF897EF6648 (Unity) TextureGenerator::GenerateTexture
0x00007FF898DCFB54 (Unity) TextureImporter::GenerateAssetData
0x00007FF8986B75B2 (Unity) ImportToObjects
0x00007FF8986B6428 (Unity) ImportAsset

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.