I can’t find the GameSession.cpp and GameSessionSettings.cpp engine files, only declaration classes like (GameSession.h), I need to copy them to my project to change the dedicated server settings and client connection settings. I also didn’t see a way to change settings at runtime in blueprint or C++ function, it looks like these settings only change in other classes. Will I have to install the entire GameFramework module from the unreal engine in my project? Duplicating all of this and re-referencing them beyond the engine classes is going to be a huge amount of work, there must be some alternative. Help!
I don’t know what settings are you referring to. Also, if you don’t have the engine built from source you cannot create dedicated server builds anyways.
2 Likes
prewritten settings like Maximum number of clients, Connection timeout time, player state, method: event when client disconnects open default level(client)?, client method connecting: Log in terminal?. All these methods and variables are declared in the GameSession class, what I want is to change the default settings without having to edit the engine class, as this would affect all projects, I also want to change these options in game runtime.
i need it too, help