We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Attempt to get parent of an entity within system iterator segfault crashes.
To Reproduce
auto ECS = flecs::world(); struct Comp {int Field;}; auto E1 = ECS.entity(); auto E2 = ECS.entity().child_of(E1).add<Comp>(); ECS.system("System name", "[in] Comp").iter([](iter &Iter) { for (auto Index : Iter) { entity Entity = Iter.entity(Index); entity_view Parent = Entity.get_parent(0); } }); ECS.progress(1.0f); ECS.progress(1.0f); ECS.progress(1.0f); ECS.progress(1.0f);
Expected behavior No crash happens
Additional information Bug introduced in this commit: 8b24d0d
The text was updated successfully, but these errors were encountered:
#473 fix issue with calling ecs_get_object from stage
5719c63
Fixed!
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Attempt to get parent of an entity within system iterator segfault crashes.
To Reproduce
Expected behavior
No crash happens
Additional information
Bug introduced in this commit: 8b24d0d
The text was updated successfully, but these errors were encountered: