When GameObject gets toggled off and back on -> any material assigned through SetMaterialOverride resets and you need to assign it again