I have a simple Slate GUI with a Click event triggering a line of code in C++:
However when I started by just clicking Launch the ServerTravel() function would fail with the error that it could not find the map.
If I clicked File->Cook Content For Windows the map is now found and the ServerTravel() function succeeds. However any changes to my map are not reflected until I click Cook Content For Windows again.
I’m guessing I’m just confused what the Launch button actually does but I did noticed this line in the log:
[2014.05.07-21.39.47:856]LogPlayLevel:Display: CommandUtils.Run: Run: D:\UE4\UnrealEngine\Engine\Binaries\Win64\UE4Editor-Cmd.exe "C:\Users\Fox\Documents\Unreal Projects\Adigo\Adigo.uproject" -run=Cook -Map=/Temp/Autosaves/Game/UEDPCMainMenu -TargetPlatform=WindowsNoEditor -unattended -buildmachine -forcelogflush -AllowStdOutTraceEventType -Unversioned -fileopenlog -iterate -abslog=D:\UE4\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\Cook.txt -stdout -FORCELOGFLUSH -CrashForUAT -unattended -AllowStdOutTraceEventType
The -unattended flag is in there twice and afterwards some messages with my map’s name in it popped up during a Launch:
[2014.05.07-21.39.48:269]LogPlayLevel:Display: UE4Editor-Cmd: [2014.05.07-21.39.48:261][ 0]LogPackageDependencyInfo:Display: Package Info not found for …/…/…/Adigo/Content/TestMap!
Which makes me worry I am not telling UE4Editor where my assets are and how to deal with them whenever I click Launch. Any help or direction would be appreciated. Thank you again for UE4!