I was curious if kit can be built as a library instead of a application so that I can load it into UE5 as a c++ plugin? This way I can wrap UE5 components and subsystems into kit extensions and add additional kit extensions into UE5 all within the game loop. This allows me to build games in UE5 to be offloaded to kit to run ai training, and once training is complete, AIs can be ran in real-time within UE5/kit allowing full in game interaction with the trained AIs. Essentially, I would be able to provide the AI’s with rich UE5 game worlds to train in.
Please let me know if anyone has been able to build kit as a library.
Unfortunately, this is not possible, directly as you are stating. Kit is already a library of extensions and code, but this is used to make an application. Kit can also talk to C++ through python extensions, yes. But accessing kit in the way you have described is not really intended. If you are using UE5, there are many ways to talk and interact with kit. The first is through our UE connector.