While editing the materials of the models coming from Revit, a faulty behavior is encountered. Unity connector successfully generates Material Assets on receive, but when these assets are modified, only some of the items with edited material get affected. Rest stays with the old material definition. The image below is an example of this.
I'm not sure if this only occurs on models from Revit.
Expected Behaviour
When material assets are modified, all items with the same material should be affected by this change.
Description
While editing the materials of the models coming from Revit, a faulty behavior is encountered. Unity connector successfully generates Material Assets on receive, but when these assets are modified, only some of the items with edited material get affected. Rest stays with the old material definition. The image below is an example of this.
I'm not sure if this only occurs on models from Revit.
Expected Behaviour
When material assets are modified, all items with the same material should be affected by this change.
Streams Used
https://latest.speckle.dev/streams/8e2e6ad4f3/commits/68946ac902
Steps to reproduce
Receive the above stream via Unity connector. Make sure to check “Generate Material Assets” option.
Change the color of one of the generated material assets, for example Grass material, to red.
Although there were multiple floors with Grass material applied, only one turned red. The remaining two still use the old definition. See👇: