Forum rules - please read before posting.

Player custom animation only plays if a Wait action is added before it

Hi,
a custom Player animation does not start in one specific scene.

I use Character: Animate → Play Custom, but the Animator never enters the animation state. NPC animations work, and the same Player animations work in other scenes.

Adding an Engine: Wait before it fixes the problem, even with 0.0001 seconds.

Could this be a timing issue or a bug during scene initialisation?

Comments

  • Animation engine: Sprites Unity Complex

  • Is this to say the exact same animation call - at the same point in the scene's logic - works in other scenes? If so, is there anything specific about this scene that stands out?

    What are your AC/Unity versions, and at what point in the scene's logic does it get run? Share screenshots of the Action and Animator if you can, as it'll help clarify the situation.

  • Any player animation called within the Action List Editor doesn't work unless I insert a "wait" command first; this applies to any scene.

    Work:
    Work

    it does not work:
    No-Work

  • Is there any behaviour that's unique to the specific scene you mentioned?

    I can't recreate any such issue. What are your AC/Unity versions, and what does the Animator Controller look like?

  • I don't know if these are suitable.

    1
    2
    3
    host di foto gratis

  • Please share all the details I'm asking for:

    • What are your AC/Unity versions?
    • Is there any behaviour that's unique to the specific scene you mentioned?
    • At what point in the scene's logic does it get run?

    As for the Player: are they spawned in by the Settings Manager, or present in the scene file itself? If they are spawned, is there a difference if you place them in the scene file before entering Play Mode?

    • Unity: 6000.3.9f1 - AC: 1.86.4
    • I also tested it on empty scenes using both a trigger and OnStart.
    • The player is generated by the settings manager, and all animations: walk, talk, idle, etc. work correctly.
    • Animations work correctly on all objects and NPCs in the scene; only the player's animations, when triggered via an action list, require a preceding "wait" command.
  • If they are spawned, is there a difference if you place them in the scene file before entering Play Mode?

  • If it's placed in the scene, it works correctly, but it doesn't seem like the right method to me :)

  • PM me a test project with instructions and I'll take a look.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.