Sprite doesn't play went entering from other scene

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Eldritch_Horror
Posts: 28
Joined: Sun May 28, 2023 8:30 pm

Sprite doesn't play went entering from other scene

Post 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?
Eldritch_Horror
Posts: 28
Joined: Sun May 28, 2023 8:30 pm

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

Post by Eldritch_Horror »

Image of animator attached.
Attachments
Screenshot 2023-06-25 145348.jpg
Screenshot 2023-06-25 145348.jpg (131.15 KiB) Viewed 662 times
User avatar
Tony Li
Posts: 22125
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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?
Eldritch_Horror
Posts: 28
Joined: Sun May 28, 2023 8:30 pm

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

Post 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.
Eldritch_Horror
Posts: 28
Joined: Sun May 28, 2023 8:30 pm

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

Post by Eldritch_Horror »

No functions of the sprite are triggered directly by the animation, however.
Eldritch_Horror
Posts: 28
Joined: Sun May 28, 2023 8:30 pm

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

Post 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.
User avatar
Tony Li
Posts: 22125
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look.
Post Reply