I get this crash launching from Visual Studio, or when launching a standalone game from the Editor. I can Play in Editor fine.
Assertion failed: InResource && InResource->Target == Target [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\ShaderCore\Private\Shader.cpp] [Line: 1016]
KERNELBASE.dll {0x000007fefdc6aaad} + 0 bytes
MM_04.exe!FOutputDeviceWindowsError::Serialize() {0x000000013fd39f07} + 0 bytes
MM_04.exe!FOutputDevice::Logf__VA() {0x000000013fdab148} + 0 bytes
MM_04.exe!FDebug::AssertFailed() {0x000000013fd755f8} + 0 bytes
MM_04.exe!FShader::SetResource() {0x00000001416889ae} + 0 bytes
MM_04.exe!FShader::SerializeBase() {0x0000000141687f07} + 0 bytes
MM_04.exe!TShaderMap<FGlobalShaderType>::SerializeInline() {0x00000001406dceef} + 0 bytes
MM_04.exe!GetGlobalShaderMap() {0x00000001406b648d} + 0 bytes
MM_04.exe!FEngineLoop::PreInit() {0x000000013fbb91db} + 0 bytes
MM_04.exe!GuardedMain() {0x000000013fbaf02a} + 0 bytes
MM_04.exe!GuardedMainWrapper() {0x000000013fbaf5ca} + 0 bytes
MM_04.exe!WinMain() {0x000000013fbc1518} + 0 bytes
MM_04.exe!__tmainCRTStartup() {0x0000000142b13bd9} + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
kernel32.dll {0x0000000077a459cd} + 0 bytes
ntdll.dll {0x0000000077b7b891} + 0 bytes
ntdll.dll {0x0000000077b7b891} + 0 bytes
Output from editor
LogPlayLevel: InternalUtils.SafeFileExists: SafeFileExists C:\Users\Documents\Unreal Projects\MM_04\Saved\StagedBuilds\WindowsNoEditor\MM_04\Binaries\Win64\MM_04.exe=True
LogPlayLevel: CommandUtils.Run: Run: C:\Users\Documents\Unreal Projects\MM_04\Saved\StagedBuilds\WindowsNoEditor\MM_04\Binaries\Win64\MM_04.exe …/…/…/MM_04/MM_04.uproject /Game/Levels/DefaultLevel -stdout -abslog=C:\Users\AppData\Local\Temp\C+Program+Files+Unreal+Engine+4.8\Logs\Client.log -Messaging -nomcp -Windowed -CrashForUAT -SessionId=F25AE6584753F82AD491EA86283F8B9C -SessionOwner= -SessionName=‘Play On Device’
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: LogModuleManager:Warning: ModuleManager: Module ‘HTTPChunkInstaller’ not found - its StaticallyLinkedModuleInitializers function is null.LogModuleManager:Warning: ModuleManager: Module ‘OnlineSubsystemNull’ not found - its StaticallyLinkedModuleInitializers function is null.
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:831][ 0]LogModuleManager:Warning: ModuleManager: Module ‘OnlineSubsystemNull’ not found - its StaticallyLinkedModuleInitializers function is null.LogOnline:Warning: Unable to load default OnlineSubsystem module Null, using NULL interface
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:831][ 0]LogOnline:Warning: Unable to load default OnlineSubsystem module Null, using NULL interfaceLogModuleManager:Warning: ModuleManager: Module ‘OnlineSubsystemNull’ not found - its StaticallyLinkedModuleInitializers function is null.
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:831][ 0]LogModuleManager:Warning: ModuleManager: Module ‘OnlineSubsystemNull’ not found - its StaticallyLinkedModuleInitializers function is null.LogConsoleResponse:Warning: Skipping Unknown console variable: ‘UIScaleRule = ShortestSide’
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:854][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleRule = ShortestSide’LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MM_04/Saved/Config/WindowsNoEditor/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:854][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MM_04/Saved/Config/WindowsNoEditor/Engine.ini’, in section '[/Script/Engine.RendererSettings]'LogConsoleResponse:Warning: Skipping Unknown console variable: ‘UIScaleCurve = (EditorCurveData=(Keys=),ExternalCurve=None)’
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:854][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: 'UIScaleCurve = (EditorCurveData=(Keys=),ExternalCurve=None)'LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MM_04/Saved/Config/WindowsNoEditor/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:854][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MM_04/Saved/Config/WindowsNoEditor/Engine.ini’, in section '[/Script/Engine.RendererSettings]'LogConsoleManager:Warning: Console variable ‘r.MSAA.CompositingSampleCount’ wasn’t set (‘Scalability’ has a lower priority than ‘ProjectSetting’)
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.42:856][ 0]LogConsoleManager:Warning: Console variable ‘r.MSAA.CompositingSampleCount’ wasn’t set (‘Scalability’ has a lower priority than ‘ProjectSetting’)LogWindows:Error: Windows GetLastError: The operation completed successfully. (0)
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.44:039][ 0]LogWindows:Error: Windows GetLastError: The operation completed successfully. (0)
LogPlayLevel: MM_04: begin: stack for UAT
LogPlayLevel: MM_04: KERNELBASE.dll {0x000007fefdc6aaad} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!FOutputDeviceWindowsError::Serialize() {0x000000013fd39f07} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!FOutputDevice::Logf__VA() {0x000000013fdab148} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!FDebug::AssertFailed() {0x000000013fd755f8} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!FShader::SetResource() {0x00000001416889ae} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!FShader::SerializeBase() {0x0000000141687f07} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!TShaderMap::SerializeInline() {0x00000001406dceef} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!GetGlobalShaderMap() {0x00000001406b648d} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!FEngineLoop::PreInit() {0x000000013fbb91db} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!GuardedMain() {0x000000013fbaf02a} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!GuardedMainWrapper() {0x000000013fbaf5ca} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!WinMain() {0x000000013fbc1518} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: MM_04.exe!__tmainCRTStartup() {0x0000000142b13bd9} + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: kernel32.dll {0x0000000077a459cd} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: ntdll.dll {0x0000000077b7b891} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: ntdll.dll {0x0000000077b7b891} + 0 bytes
LogPlayLevel: MM_04:
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: end: stack for UATLogWindows:Warning: CreateProc failed (2) …....\Engine\Binaries/Win64/CrashReportClient.exe -AppName=UE4-MM_04
LogPlayLevel: MM_04:
LogPlayLevel: MM_04: [2015.05.16-22.47.49:488][ 0]LogWindows:Warning: CreateProc failed (2) …....\Engine\Binaries/Win64/CrashReportClient.exe -AppName=UE4-MM_04
LogPlayLevel: InternalUtils.SafeFindFiles: SafeFindFiles C:\Users\AppData\Local\Temp\C+Program+Files+Unreal+Engine+4.8\Logs * False
LogPlayLevel: InternalUtils.FindFiles: FindFiles C:\Users\AppData\Local\Temp\C+Program+Files+Unreal+Engine+4.8\Logs * False
LogPlayLevel: InternalUtils.SafeCopyFile: SafeCopyFile C:\Users\AppData\Local\Temp\C+Program+Files+Unreal+Engine+4.8\Logs\Client.log C:\Program Files\Unreal Engine\4.8\Engine\Programs\AutomationTool\Saved\Logs\Client.log
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: 3
LogPlayLevel: Stacktrace: at Project.RunStandaloneClient(List1 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(MainProc Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: Program.Main: ERROR: Client exited with error code: 3
LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel: copying UAT log files…
LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
LogPlayLevel: Completed Launch On Stage: Run Task, Time: 166.513865
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error