Search Issue Tracker

Fixed in 13.1.0

Votes

0

Found in [Package]

12.0.0

Issue ID

1355108

Regression

No

[HDRP][Mac] When scene lighting is off, working with the scene logs "Metal: Shader[HDRP/Lit]: Pixel format <...>" warning

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Open attached project "stw-21-2-flightsim-master-2" and scene "Gameplay"
2. In Scene View toolbar, toggle off Scene Lighting
3. In Hierarchy window, select "prefab_Player" GameObject
4. In Scene View, navigate around
5. Observe Console window

Expected result: No warnings logged
Actual result: "Metal: Shader[HDRP/Lit]: Pixel format [MTLPixelFormatRGBA8Unorm_sRGB] of texture [UnityDefault2D] bound at index 6 is incompatible with texture parameter [uint _ContactShadowTexture]. Compatible types [float, half]" warning is logged

Reproducible with: 10.6.0 (2020.3.15f2), 11.0.0(2021.1.16f1), 12.0.0 (2021.2.0b6, 2022.1.0a4)
Could not test with: 2019.4.29f1 (compilation errors break repro project)

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.