If any material variants are used on the avatar, shader optimizations appear to fail with "Attempted to set shader on material variant". The build appears to continue as normal but without shader optimizations. My use case involves having material variants and then having the optimizer write the static values. This could likely be remedied by having the optimizer make copies of the material variants and then flatten them (see: top left three dots menu > flatten material variant) before continuing with other steps.
If any material variants are used on the avatar, shader optimizations appear to fail with "Attempted to set shader on material variant". The build appears to continue as normal but without shader optimizations. My use case involves having material variants and then having the optimizer write the static values. This could likely be remedied by having the optimizer make copies of the material variants and then flatten them (see: top left three dots menu > flatten material variant) before continuing with other steps.