Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
15
Found in
2018.4
2019.4
2020.1
2020.1.1f1
2020.2
2021.1
Issue ID
1268590
Regression
No
[HDRP] Instances drawn with DrawMeshInstanced are not lit up when Light Layers are enabled in HDRP settings
How to reproduce:
1. Open attached project "TestProject.zip"
2. Open "InstancedWithLightLayers.unity" Scene in "Issue" folder
3. Press Play
4. Go to Assets/Settings and click on "HDRPMediumQuality.asset"
5. In the Inspector enable Light Layers and inspect the Game View again
Expected result: the drawn spheres are lit up
Actual result: the drawn spheres are not lit up
Reproducible with: HDRP 4.10.0-preview (2018.4.26f1), 7.4.3 (2019.4.9f1), 8.2.0 (2020.1.4f1, 2020.2.0a21), 9.0.0-preview.54 (2020.2.0a21), 10.1.0(2020.2.0b11), 10.2.0 (2020.2.0b13), 10.2.1 (2020.2.0b13), 10.2.2 (2020.2.1f1, 2021.1.0b2), 11.0.0(2021.1.0b2)
Not reproducible with: HDRP 10.0.0-preview.27 (2020.2.0b9)
Comments (2)
-
nehvaleem
Feb 16, 2021 19:19
Exactly! It IS a regression and this issue was marked as regression until now! Someone has changed it which is really disturbing.
-
alexandre-fiset
Feb 14, 2021 20:28
This issue IS regression as it used to work before.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a12
Resolution Note (fix version 2021.1):
Fixed in 2021.1.4f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.8f1