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

[unity] UpdateWhenInvisible incorrect when using SkeletonRenderSeparator #2519

Closed
HaraldCsaszar opened this issue May 6, 2024 · 0 comments
Closed
Assignees
Labels

Comments

@HaraldCsaszar
Copy link
Collaborator

Reported on the forum:
https://esotericsoftware.com/forum/d/26099-problem-with-update-when-invisible/9
Reproduction project sent via email:
FMfcgzGxSvBlvgmBxGQLHGvHlRlzGtMW

Problem is that SkeletonRenderer OnBecameInvisible and OnBecameVisible are no longer triggered when SkeletonRenderSeparator disables the main MeshRenderer and uses multiple SkeletonPartsRenderers instead.

Each SkeletonPartsRenderer would require to capture OnBecameInvisible and OnBecameVisible and at the SkeletonRenderSeparator it needs to be decided if all are invisible or any part is visible, then SkeletonRenderer.OnBecameInvisible and .OnBecameVisible should be called.

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

No branches or pull requests

1 participant