Closed awest03 closed 4 months ago
Fixed on the v4 branch
Thanks, it looks like the bug may still be there as the code I posted above still doesn't work on the latest v4 branch, if I add:
ecs.remove_all<Buddies>(flecs::Wildcard);
before exiting there isn't a problem, so definitely still related to the symmetric relationship
Second attempt, should be fixed now :)
Thank you! Seems to be working for me now
Describe the bug When a world's destructor is called (C++ api), an assertion (
fatal: entity.c: 3893: assert: entity != 0 INVALID_PARAMETER
) fails if there is an entity which is a child of another entity and has a symmetric relationship with another entity, that is or is not a child of the same entity.To Reproduce This code will trigger the bug:
Expected behavior No assertion
Additional context