Skip to content

Comments

Call init_builtin_components() at the end of world reset#1958

Open
60k41p wants to merge 2 commits intoSanderMertens:masterfrom
VerdantInteractive:master
Open

Call init_builtin_components() at the end of world reset#1958
60k41p wants to merge 2 commits intoSanderMertens:masterfrom
VerdantInteractive:master

Conversation

@60k41p
Copy link

@60k41p 60k41p commented Feb 21, 2026

Fixes fatal: flecs.h: 30083: assert(registered(world)): component 'EcsRest' must be registered before use (INVALID_OPERATION) on world.set<flecs::Rest>({}); following a world.reset().

@60k41p 60k41p changed the title Call init_builtin_components() at the end of world reset. (#1) Call init_builtin_components() at the end of world reset Feb 21, 2026
* Early return in ecs_run_pipeline when a pipeline is disabled. Simplifiy ecs_progress() by delegating thread management and pipeline execution to ecs_run_pipeline().

* Remove the error label that's no longer used after the refactoring

* Add tests

* Update the amalgamated flecs.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant