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

Fix: Treat VRM0 BlendShapeProxy as EntryPoint #810

Merged
merged 2 commits into from
Jan 6, 2024

Conversation

kaikoga
Copy link
Contributor

@kaikoga kaikoga commented Dec 31, 2023

Fix #809 by marking VRM0 BlendShapeProxy as EntryPoint, just like Animator.
(VRM1 counterpart, Vrm10Instance, is already EntryPoint.)
We should not access Component.transform here anyway, because avatar processing is at an intermediate state when FindUnusedObjects is collecting dependencies.

Also I have made an assumption that AvatarOptimizer does not change Material names or remap parameter values, except when MergeToonLitMaterial is used.
(I didn't mark these comments as TODOs because I doubt "tracking material changes" would happen in near future.)

@kaikoga kaikoga marked this pull request as ready for review December 31, 2023 07:55
Copy link
Owner

@anatawa12 anatawa12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@anatawa12 anatawa12 merged commit a58ea04 into anatawa12:master-1.6 Jan 6, 2024
8 checks passed
@kaikoga kaikoga deleted the fix_vrm_animated_mappings branch January 8, 2024 04:50
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

Successfully merging this pull request may close these issues.

None yet

2 participants