So we updated our Unity Runtime and the warning for WarnIfDuplicateTrackIndex seems to not be implemented in a way that is really helpful? Maybe I'm not understanding the point correctly, but I ended up commenting it out for now.
The problem is that the code only checks if there are multiple SpineAnimationStateTracks in a timeline and if they share the same track index. However, we have multiple SpineAnimationStateTracks but they have different target skeletons so it's throwing false positives. Shouldn't it also check the track target objects before throwing this warning?
Stranica: 1/1.
bklooster
5 months ago
- bklooster
- Postovi: 10
Harald
Thanks for reporting and sorry for the troubles! You are absolutely right. Unfortuantely the Unity Timeline API does not allow accessing the target GameObject from the
Spine Unity Download
TrackAsset
subclass code (or any other useful location). Thus we had to remove the warning completely again. New spine-unity Timeline UPM packages (both for 4.0 and 4.1-beta) are available for download here as usual:Spine Unity Download
5 months ago
-
Harald - Postovi: 3991
Mark topic unread
• Stranica: 1/1.
Natrag na Unity
- Vremenska zona: UTC