Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.1.0a6
2021.2
Issue ID
1294951
Regression
Yes
Selection Outline is not drawn for GameObjects that are using the HDRP shaders
How to reproduce:
1. Create an HDRP Template project
2. Select an Object in the SampleScene
3. Observe the selected GameObject
Expected results: A GameObject is selected and an Outline is drawn to indicate its silhouette
Actual results: A GameObject is selected, however, its Outline is not drawn
Reproducible with: 2021.1.0a6(10.2.0), 2021.1.0b3(11.0.0), 2021.2.0a2(11.0.0)
Not reproducible with: 2019.4.20f1(7.5.3), 2020.2.5f1(10.3.1), 2021.1.0a5(10.2.0)
Could not test with: 2018.4.32f1(HDRP was in early preview)
Notes:
1. In HDRP shaders, the SceneSelectionPass is the second one defined, and it is skipped by the selection outline rendering. Putting the SceneSelectionPass as the first pass solves the issue
2. Does not reproduce with URP and Legacy
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2021.2):
Fixed in - 2021.2.0a5