Note: this bug was split off from [Internal link] because it exclusively concerned DX11.
([Internal link] fixes the CubemapInspector issue from the original report)
The repro project can be retrieved from the original ticket (too heavy to upload here). The original description can be found below:
How to reproduce:
1. Open the project "IN_19061"
2. Enter the Play Mode
3. Observe the Console
Expected result: no warning
Actual result: warning "Registering a native texture with depth=0 while the actual texture has depth=1"
Reproducible with: 2022.1.21f1, 2022.2.0b12, 2023.1.0a15
Couldn't test with: 2020.3.40f1, 2021.3.12f1 (due to compiler errors)
Reproducible on: Windows 10 Pro
Note: not reproducible in Player