Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.2.18f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1119994
Regression
No
MaterialPropertyBlock only sets color of the 0th index when using Renderer.SetPropertyBlock()
Reproduction steps:
1. Open the Project inside of "SkinnedMeshRenderer MaterialPropertyBlock Issues.zip"
2. Select the "Mesh" GameObject inside of the Scene "SceneWithMesh"
3. Inside the Inspector, change the value of "Color 2" parameter inside of "MaterialInstanceProperties" component
Expected: The outline of Mesh changes accordingly to the selected color inside of Scene View
Actual: The outline of Mesh does not change according to the selected color inside of Scene View
Reproduces on: 2018.3.11f1, 2019.1.0b9, 2019.2.0a10
Could not reproduce on pre-2018.3 due to rendering errors
Note:
- Simple Mesh Renderer works as intended
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment