flecs-hub / flecs-systems-admin

A web dashboard for Flecs
MIT License
36 stars 7 forks source link

Crash when spawning EcsPosition2D entities with dashboard enabled #5

Open heybdj opened 4 years ago

heybdj commented 4 years ago

I have a test app that spawns a new entity with an EcsPosition2D component attached to it each frame. When run with the web dashboard enabled, the app will crash after a couple minutes of operation.

Here is a repository that contains a standalone repro case along with some screenshots of the debugger output I caught:

https://github.com/bdjones/flecs_crash_test

Weirdly, I only seem to experience the crash when I create EcsPosition2D entities each frame; replacing EcsPosition2D with a custom component (like a simple float) seems to work just fine.