ConfettiFX / The-Forge

The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
Apache License 2.0
4.65k stars 491 forks source link

Asserts triggering in modified version of flecs when running with high uptime #245

Closed MoombaDS closed 2 years ago

MoombaDS commented 2 years ago

When running the engine with a high uptime (16:21:53:13 in this instance) on a Windows 10 machine, these asserts in the modified version of flecs are triggered:

https://github.com/ConfettiFX/The-Forge/blob/da36bb40f6ea11df76167f528032c52999912d82/Common_3/ThirdParty/OpenSource/flecs/flecs.c#L3800-L3801

This issue doesn't seem to be present in the vanilla version of flecs and values returned for sec at low uptimes seem to be correct in both versions.

wolfgangfengel commented 2 years ago

We are going to look into this! Thanks for providing the issue.

wolfgangfengel commented 2 years ago

Should be resolved.

wolfgangfengel commented 2 years ago

Should be resolved.