Closed Thomas-X closed 6 months ago
Note: just switched over to 4.0.1-dev-2024-04-30-06-41-46 on gitlab (was using 3.2.11 on nuget) and that seems to have the issue resolved. Not sure what the resolution of this can be
Hmm. Seems that it does correctly serialize components but not relationships. See below
Json serialization and deserialization is not possible with worlds that have managed types yet. I'm currently waiting on a few features to be implemented in flecs to be able to support them properly.
Hi, first and foremost love the work you're doing for the library!
It seems that FromJson / ToJson don't work so well, as the query from the loaded world never gets executed. The query from the world being saved is executed as it should. Feels like some issues with serialization, but not sure if it's the bindings.
Here's a quick copy-pastable console app with
Flecs.NET.Debug