I’m using the resavepackages commandlet to build lightmaps on the command line for a project that’s in a Perforce repository. I need it to automagically check out any files being changed from Perforce, but the build log is telling me that source control is disabled. I know that source control is configured correctly as I can check out when I’m using the editor, but the command line just refuses to cooperate. The command I’m using is:
ue4editor.exe project.uproject -run=resavepackages -buildlighting -allowcommandletrendering -map=map.umap
Thanks for your help.