Brutal, the framework behind RimWorld's Waylith engine, releases its source code
gamingonlinux.com
gamingonlinux.com
They basically made a homebrew ECS hybrid to support all the complex game logic and AI behaviors. It takes care of NPCs, items, health status, combat, random event, basically the whole game. The only things Unity handles are low level systems like input handling or rendering that are hard to get right and good enough as they are.