Page 1 of 1

Sprite doesn't play went entering from other scene

Posted: Sun Jun 25, 2023 2:47 pm
by Eldritch_Horror
I have a static scene with a sprite set to loop, with a conversation auto starting. When I load the scene directly, and play it, the sprite runs and loops fine. When I load the previous scene, and enter it/load it from there during play, the sprite doesn't animate at all.
Can anyone advise a solution?

Re: Sprite doesn't play went entering from other scene

Posted: Sun Jun 25, 2023 3:54 pm
by Eldritch_Horror
Image of animator attached.

Re: Sprite doesn't play went entering from other scene

Posted: Sun Jun 25, 2023 4:35 pm
by Tony Li
Hi,

Does your sprite (SpriteRenderer & Animator) have anything to do with the Dialogue System? For example, are you using a scene event to control the animator, or have you otherwise made a connection in the inspector between the sprite and anything Dialogue System-related?

Does this scene have a Dialogue Manager? Does the previous scene?

Re: Sprite doesn't play went entering from other scene

Posted: Sun Jun 25, 2023 5:06 pm
by Eldritch_Horror
Both scenes consist of conversations that start on loading the scene. Both have sprites setup to run automatically in the background on loop. I've just added the dialogue option to load into this scene, and it seems to have cancalled out the sprite loading, but maybe it's something else.

Re: Sprite doesn't play went entering from other scene

Posted: Sun Jun 25, 2023 5:07 pm
by Eldritch_Horror
No functions of the sprite are triggered directly by the animation, however.

Re: Sprite doesn't play went entering from other scene

Posted: Sun Jun 25, 2023 5:59 pm
by Eldritch_Horror
I've posted to the AC forum also. It may well be something solved on that end, in which case I apologize for the post.

Re: Sprite doesn't play went entering from other scene

Posted: Sun Jun 25, 2023 6:10 pm
by Tony Li
Feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look.