OnGameRulesCreationStringChanged: missing gamerules class on the client
Jump to navigation
Jump to search
There are multiple reasons this error may show up when connecting to a map.
: Code Exempt
Either the client project does not include the gamerules' source code or the register code is skipped by the compiler (i.e. #ifndef CLIENT_DLL
).
: Client Crash
A global object added onto the client is crashing in its constructor. This is because the interfaces it uses are not initialized before the constructor. To fix this, the class should be made into a CAutoGameSystem, and the constructor code should be installed into bool Init(). The reason why this error shows up is because if the engine fails to load the mod's client.dll twice, it will load the dll included in the mod's SteamAppId. Starting a debug session for the mod would show the failure.