When copying Fabric materials it should use the original material path instead of the _materialSource path since changed property notifications come from the original material, not the _materialSource (which seems to be removed). Not doing this causes this assert to be hit.
Fixes a crash related to https://github.com/CesiumGS/cesium-omniverse/pull/644.
When copying Fabric materials it should use the original material path instead of the
_materialSource
path since changed property notifications come from the original material, not the_materialSource
(which seems to be removed). Not doing this causes this assert to be hit.To reproduce:
/World/Looks/Material/cesium_feature_id_int
feature_id_set_index
to 1On this branch it won't crash. But you might still see artifacts related to https://github.com/CesiumGS/cesium-omniverse/issues/581.