Search Issue Tracker
By Design
Votes
0
Found in [Package]
11.0.0
Issue ID
1304362
Regression
No
The Receive Shadows property is displayed in the Inspector under the Mesh Renderer component when the Debug mode is enabled
How to reproduce:
1. Open the attached '1304362.zip' project
2. Open 'SampleScene'
3. In the Hierarchy window select 'Cube'
4. Click on the three dots located in the upper right corner of the Inspector and select 'Debug'
5. Observe the Mesh Renderer component in the Inspector
Expected result: The Receive Shadows property is not displayed
Actual result: The Receive Shadows property is displayed
Reproducible with: Universal RP 7.5.2 (2019.4.18f1), 8.3.1 (2020.1.17f1), 10.2.2 (2020.2.2f1, 2021.1.0b2, 2021.2.0a1), 11.0.0 (2021.1.0b2, 2021.2.0a1)
Cannot test with: 2018.4.30f1 (the Universal RP package is not supported), Universal RP 11.0.0 (2020.1.17f1, 2020.2.2f1) (the package version is not supported)
Notes:
- The Receive Shadows property is not displayed under the Mesh Renderer component when the Inspector is in the 'Normal' mode
- The Receive Shadows property can be found in the Material properties under the Surface Options
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
- Cancelling a Package installation leads to invisible compilation errors preventing the user to enter Play Mode when the “Cancel” button is clicked, and does not actually cancel the package install as it appears in the Project after the Editor is restarted
- NullReferenceException occurs when searching presets in “Select Preset” window after selecting a GLTF Importer preset
- Dynamic TMP_Font asset shows up as modified in source control when TextMeshPro text using it is changed
- “Output value ‘outMotionVec’ is not complete” warning logged after creating Canvas Shader Graph Asset
- SVG Image Component loses Source SVG Image field references when upgrading to a different Vector Graphics package version
Resolution Note:
The option is hidden from UI because URP doesn't support receive shadows in the mesh, it instead support in the material allowing meshes with multiple materials to select individually whether to receive shadow or not.
When the inspector is in Debug mode it shows all serialized properties. The receive shadows appear because we can't remove the serialized property as it's used in built-in and will need to remember it's state in case the pipeline is switch to built-in RP.