I'm trying to make a general purpose game engine with Lua scripting using Sol2. The engine uses a component system and scripts are attached onto objects. Most engines ...