Search Issue Tracker
Fixed in 10.2.0
Votes
0
Found in [Package]
5.3.1-preview
Issue ID
1283659
Regression
Yes
NullReferenceException is thrown when selecting multiple GameObjects with 'Decal Projector' Components that have unset Materials
How to reproduce:
1. Create a new project
2. Import the HD RP package from the Package Manager
3. In the Hierarchy window create a new GameObject
4. Add the 'Decal Projector' Component to the newly created GameObject
5. Make sure that the 'Material' field in the 'Decal Projector' Component is not assigned
6. Duplicate the GameObject at least 1 time
7. Select at least two GameObjets that have the 'Decal Projector' Component
Expected result: the GameObjects are selected successfully
Actual result: GameObject are selected but an error occurs: 'NullReferenceException: Object reference not set to an instance of an object'
Reproducible with: 5.3.1-preview (2019.3.0a1), 7.3.1 (2019.4.12f1), 8.2.0 (2020.1.9f1), 9.0.0-preview.54 (2020.2.0b6), 10.0.0-preview.27 (2020.2.0b7, 2021.1.0a2), 10.1.0 (2021.1.0a2)
Not reproducible with: 4.10.0-preview (2018.4.29f1), 5.2.3-preview (2019.3.0a1)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
- Recording highlight is not shown when switching between the two GameObjects with Animations
- Asset is not found when using Label search in Search Bar
- Editor crashes when opening Project Auditor window of 3rd party jillejr.newtonsoft.json-for-unity.converters package
Add comment