The AssetDatabase returning the first matching type asset when using the LoadAsset method. If there is more than an object which is the same type, it was used the first found object only.
I've changed to use the object with the same name in the same type.
Release Notes
Fixed to find materials created as a Sub-Asset.
Testing status
Make sure the MaterialPreservingBatcher supports Sub-asset materials.
Overall Product Risks
Technical Risk: Low
Halo Effect: Medium. It needs to re-build HLOD which baked before.
Purpose of this PR
The AssetDatabase returning the first matching type asset when using the LoadAsset method. If there is more than an object which is the same type, it was used the first found object only. I've changed to use the object with the same name in the same type.
Release Notes
Fixed to find materials created as a Sub-Asset.
Testing status
Make sure the MaterialPreservingBatcher supports Sub-asset materials.
Overall Product Risks
Technical Risk: Low
Halo Effect: Medium. It needs to re-build HLOD which baked before.
Comments to reviewers