Snayff / nqp3

1 stars 2 forks source link

Animated Sprite Firing Warning On Actor Init #18

Closed Snayff closed 1 year ago

Snayff commented 1 year ago

Describe the bug Every time actor is initialised the warning is fired.

W 0:00:01:0205   factory.gd:35 @ create_actor(): Setting autoplay after the node has been added to the scene has no effect.
  <C++ Source>   scene/2d/animated_sprite_2d.cpp:433 @ set_autoplay()
  <Stack Trace>  factory.gd:35 @ create_actor()
                 unit.gd:18 @ spawn_actors()
                 stage_combat.gd:74 @ _spawn_actors()
                 stage_combat.gd:12 @ _ready()

To Reproduce Steps to reproduce the behavior:

  1. Init actor
  2. See error
eh-jogos commented 1 year ago

This was also fixed at some point! I remember seeing this error, and I remember the fix was simple, but I can't remember what it was exactly and couldn't find it in the commit history.

eh-jogos commented 1 year ago

Or it was already fixed after I started and I'm confusing it with another error message