I’m working on map changes. This requires 2 game windows to test to make sure clients can transfer. I also unchecked “Use Single Process” in editor Play settings, as source states that PIE does not support seamless travel in single process mode.
After unchecking that, PIE does not start properly. Clicking the ‘Play’ button with “Number of Players: 2” immediately opens a new window, but it remains a black screen and never loads. title of window also describes it as “Client -2” (Single-process windows describe themselves as “Client 1” and “Server”).
A second window opens shortly after; it’s a 640x480 window (resolution in editor Play settings for 2nd process). This window promptly crashes, bringing up windows error report (“Looking for a solution online”, that one). I have gotten this window to load occasionally, but 90% of time it just crashes. I don’t know what, if anything, is different in rare instances where it does work.
There’s no error output at any point in this. However, the “Launch” button also crashes immediately, but this does give an error output. I don’t know if it’s unrelated, however.
most relevant lines from Launch crash are below. I’ve tried googling the “Metadata mismatch” warning but all other occurrences seem to be unrelated to my issue.
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FLauncherTask///Thread_1afc_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FLauncherTask///Thread_830_0///####STATCAT_Advanced####
LogPlayLevel: hax: LogModuleManager:Warning: ModuleManager: Module 'HTTPChunkInstaller' not found - its StaticallyLinkedModuleInitializers function is null.
LogPlayLevel: hax: LogInit:Display: RandInit(1730684034) SRandInit(1730684034).LogConsoleManager:Warning: Console variable 'r.MSAA.CompositingSampleCount' wasn't set ('Scalability' has a lower priority than 'ProjectSetting')
LogPlayLevel: hax:
LogPlayLevel: hax: [2015.10.07-23.53.32:671][ 0]LogConsoleManager:Warning: Console variable 'r.MSAA.CompositingSampleCount' wasn't set ('Scalability' has a lower priority than 'ProjectSetting')LogModuleManager:Warning: ModuleManager: Module 'GameplayDebugger' not found - its StaticallyLinkedModuleInitializers function is null.
LogPlayLevel: hax:
LogPlayLevel: hax: [2015.10.07-23.53.36:349][ 0]LogModuleManager:Warning: ModuleManager: Module 'GameplayDebugger' not found - its StaticallyLinkedModuleInitializers function is null.LogSlate:Warning: Failed to load font data from 'Arial'
LogPlayLevel: hax:
LogPlayLevel: hax: [2015.10.07-23.53.36:381][ 0]LogSlate:Warning: Failed to load font data from 'Arial'LogInit:Display: Game Engine Initialized.
LogPlayLevel: hax:
LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel: Program.Main: ERROR: Exception in AutomationScripts.Automation: Client exited with error code: -1073741819
LogPlayLevel: Stacktrace: at Project.RunStandaloneClient(List`1 DeployContextList, String ClientLogFile, ERunOptions ClientRunFlags, String ClientApp, String ClientCmdLine, ProjectParams Params)
LogPlayLevel: at Project.RunInternal(ProjectParams Params, String ServerLogFile, String ClientLogFile)
LogPlayLevel: at Project.Run(ProjectParams Params)
LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel: at BuildCommand.Execute()
LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel: at AutomationTool.Automation.Process(String[] CommandLine)
LogPlayLevel: at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: copying UAT log files...
LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
LogPlayLevel: Completed Launch On Stage: Run Task, Time: 8.750366
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error
To emphasize, single process PIE works fine. It’s just multi-process PIE and Launch that do not. I don’t know why UHT is crashing in this situation, as it appears to work just fine everywhere else.