First Playback Attempt Fails?

We’ve been experiencing a rather strange occurrence in the game we are currently working on and I just can’t figure out what’s going on. Certain animations are not playing the first time they are called, however the second time they play fully and without problems.

so far there are 3 that are doing this (out of over 50). Two of them are animations that are played as a result of a collision detection and the other is played when the player picks up a selected item.

If it was simply not registering the action I could understand, but it is. It’s doing everything it’s suppose to (ie. obtaining the object you’ve selected), it just doesn’t play the animation the first time around.

I was kinda hoping someone on here may have run into a similar problem and may have some sort of solution/explanation/starting point that could help. I’m not really sure where to start looking.

thanks :slight_smile:

Ok, well I suppose no one has any ideas? seriously anything would help I still haven’t been able to get anywhere with this.

I have one hypothesis… is it possible that when the game starts there are a few scripts that start running before others? perhaps ones that shouldn’t be running but do because the the ones to tell them not to run start a few moments after?

If this was happening, is it possible that some animations are starting and then getting cut off when all the scripts and game parameters are loaded? so when they are told to start at the appropriate time their start frame is not set properly?

Some problems I’ve notice with animations after extensive testing http://forum.unity3d.com/viewtopic.php?t=21698&highlight=

Thanks a bunch for this, I’ll have a look into some of the things you’ve noted :slight_smile:

Anyone else?