Ive already looked here:
It seems they had the same problem as me. I get the ‘FLogCategorycustomgame’: is not a class or namespace name error.
#include "CoreMinimal.h" #include "Runtime/Core/Public/Logging/LogMacros.h" #include "Engine.h" DECLARE_LOG_CATEGORY_EXTERN(customgame, Log, All);
#include "game.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, game, "game" ); DEFINE_LOG_CATEGORY(customgame)
This setup work fine when I was working in 4.17. Did they change the way logging works in 4.25?
Any help with this would be appreciated.