Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2020.1

2020.1.0f1

2020.2

Issue ID

1267816

Regression

Yes

[HDRP] Scene/Game view and Build window becomes entirely black when HDRP Shader's Normal Map is ill-formatted

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Open user's attached project "Bug.zip"
2. In the Hierarchy select "TrexMain (1)"
3. Change Normal Map value to 1

Expected result: Only the selected GameObject is affected by the change of Normal Map's value
Actual result: Scene view/Game view/Build window becomes entirely black (on 7.1.1 this reproduces only in the Game view)

Reproducible with: 2019.3.0b12 (7.1.1), 2019.4.9f1 (7.3.1), 2020.1.4f1 (8.2.0, 9.0.0-preview.54), 2020.2.0b1 (10.0.0-preview.27)
Not reproducible with: 2018.4.26f1 (4.1.0, 4.10.0), 2019.2.21f1 (6.9.2)

Notes:
- Could not find the exact regression version due to being unable to test this on Unity versions that support HDRP 7.0.0 and 7.0.1
- The TrexMain (1) Normal Map is broken due to being ill-formatted
- Changing Normal Map's value to something really small (for example 0.0000001) makes this issue not appear
- Happens wherever Normal Map is used. Shader can be changed to HDRP/LitTessellation from HDRP/Lit for identical reproduction
- Normal Map value 1 is not the exact value this issue appears in, these values differ when trying to reproduce in the Scene/Game view and they also differ between different Unity versions
- Potential issues during an upgrade between different Unity versions can be solved by importing the Scene "Bug" directly to a new project
- Can't test this on URP as this is related to HDRP Normal Maps
- TrexMain (1) GameObject's mesh and Normal Map only exists within the Scene (they were imported)
- On 7.1.1 project fails to build with multiple "Dimensions of color surface does not match dimensions of depth surface
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)" errors

  1. Resolution Note:

    Reformatting the Normal Map should fix this

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.