I have a c++ class that contains one static function in it that acts as a wrapper for UE_LOG so I can log with blueprints, and when I run the built dedicated server I’m getting the following error:
[2015.02.08-03.43.32:935][ 0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'UE_BP_LOG': Class /Script/LastWatch.LogUtilities
The function is also not being executed whenever it’s being called, it just kind of fails silently and continues to chug along. I’ve confirmed that everything is working as intended in the editor and standalone game, so the problem is just with the dedicated server.
This leads me to think that the issue might be with my build script. I’m using a script to run the dedicated server build, compress it, and upload it to my server mostly for ease of use, but also because there is no option to package for a dedicated server in the ui. I’m using the following command to package:
${UE4BATCHDIR}/RunUAT.bat BuildCookRun -project="${PROJECTDIR}/${PROJECTNAME}.uproject" -nop4 -platform=Linux -clientconfig=Development -serverconfig=Development -cook -server -serverplatform=Linux -noclient -compile -stage -pak -archive -archivedirectory="${ARCHDIR}"
The output of this then gets saved to a log file, and it’s not throwing any errors or warnings, and says nothing about the LogUtilities class.
Any ideas?