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

[ue4] UE4 AnimationStart delegate not firing #1037

Closed
badlogic opened this issue Nov 10, 2017 · 1 comment
Closed

[ue4] UE4 AnimationStart delegate not firing #1037

badlogic opened this issue Nov 10, 2017 · 1 comment
Assignees

Comments

@badlogic
Copy link
Collaborator

See http://esotericsoftware.com/forum/UE4-AnimationStart-delegate-not-firing-9541

@badlogic badlogic self-assigned this Nov 10, 2017
@badlogic
Copy link
Collaborator Author

In USpineSkeletonAnimationComponent::SetAnimation and similar methods, we call spAnimationState_setAnimationByName. This drains the event queue, which calls the state listener. At this point in time, the spTrackEntry->rendererObject is not set yet, so the check in callback fails and the event is not reported.

@NathanSweet NathanSweet removed the bug label Nov 10, 2017
@badlogic badlogic removed the bug label Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants