Cannot include header in Classes folder
I am trying to include the file OnlineSubsystemUtils\Classes\FindSessionsCallbackProxy.h in my plugin code. The compiler says it cannot find it, and I cannot understand why. The file OnlineSubsystem\Public\Interfaces\OnlineSessionInterface.h, on the other hand, is included without errors.
My guess is that, when linking to modules, it is only allowed to include files in the Public folder, while FindSessionsCallbackProxy.h is in Classes (but I read that Classes was the only place to declare UOBJECTS, so this seems strange to me).
This is my header with the include, which is in Private\IndoFunctionLibrary.h
In the build.cs I have this:
When compiling I get this error:
Someone knows how I can include FindSessionCallbackProxy.h without errors?
Hope that helps :).
Follow this question
Once you sign in you will be able to subscribe for any updates here