Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shader optimizations don't work on material variants #116

Closed
lackofbindings opened this issue Aug 4, 2024 · 1 comment
Closed

Shader optimizations don't work on material variants #116

lackofbindings opened this issue Aug 4, 2024 · 1 comment

Comments

@lackofbindings
Copy link

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.

@d4rkc0d3r
Copy link
Owner

3.8.0 should now work with material variants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants