punchy icon indicating copy to clipboard operation
punchy copied to clipboard

Entity despawn warning, per run dependent

Open odecay opened this issue 1 year ago • 0 comments

Description

Encountering logs which point to some entity/entities probably being cleaned up/despawned via multiple means. Maybe a parent being despawn_recursive() ed.

Its not currently causing any bug in gameplay but its probably pointing to something we should take a look at.

To Reproduce

Run afew times, kill enemies, generally play the game. I believe it probably has to do with system ordering relative to one another whether the attempted despawn occurs before or after its parent(?), system ordering is determined per run so it doesnt happen every time.

Expected Behavior

No response

Additional Context

No response

Log Messages

2023-01-27T02:24:15.654063Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 48v0 because it doesn't exist in this World. 2023-01-27T02:24:15.654083Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 47v0 because it doesn't exist in this World. 2023-01-27T02:24:15.654088Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 41v0 because it doesn't exist in this World. 2023-01-27T02:24:15.654095Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 42v0 because it doesn't exist in this World. 2023-01-27T02:24:15.654107Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 45v0 because it doesn't exist in this World. 2023-01-27T02:24:15.654120Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 46v0 because it doesn't exist in this World. 2023-01-27T02:24:15.654129Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 38v8 because it doesn't exist in this World. 2023-01-27T02:24:47.396040Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 6v1 because it doesn't exist in this World. 2023-01-27T02:24:47.396059Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 4v1 because it doesn't exist in this World. 2023-01-27T02:24:47.396066Z WARN bevy_ecs::world: error[B0003]: Could not despawn entity 12v1 because it doesn't exist in this World.

odecay avatar Jan 27 '23 02:01 odecay