Description

A project does not cook with actors containing ModularSynth component. The error is a follows

UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: 
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: Fatal error!
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: 
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000c
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: 
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-AudioMixer.dll!USynthComponent::OnRegister() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\audiomixer\private\components\synthcomponent.cpp:112]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!UActorComponent::ExecuteRegisterEvents() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1236]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!UActorComponent::RegisterComponentWithWorld() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:974]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!AActor::IncrementalRegisterComponents() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\actor.cpp:4123]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!ULevel::IncrementalUpdateComponents() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\level.cpp:911]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Engine.dll!UWorld::UpdateWorldComponents() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\world.cpp:1576]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!UEditorEngine::Save() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:4188]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackage() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:3238]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::SaveCookedPackages() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:2324]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!UCookOnTheFlyServer::TickCookOnTheSide() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\cookontheflyserver.cpp:1786]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!UCookCommandlet::CookByTheBook() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:906]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-UnrealEd.dll!UCookCommandlet::Main() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\commandlets\cookcommandlet.cpp:582]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Cmd.exe!FEngineLoop::PreInit() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2134]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Cmd.exe!GuardedMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launch.cpp:127]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Cmd.exe!GuardedMainWrapper() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Cmd.exe!WinMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: UE4Editor-Cmd.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: kernel32.dll!0x00000000777B59CD
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: ntdll.dll!0x00000000778EA561
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: ntdll.dll!0x00000000778EA561
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: 
UATHelper: Packaging (Windows (64-bit)): Cook: LogWindows: Error: end: stack for UAT
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 33.5183515s to run UE4Editor-Cmd.exe, ExitCode=3
UATHelper: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. ---> AutomationTool.CommandletException: BUILD FAILED: Failed while running Cook for D:\Answerhub_repro_proj\MyProject80\MyProject80.uproject; see log C:\Users\Thomas.Vanzeeland\AppData\Roaming\Unreal Engine
\AutomationTool\Logs\D+EpicLauncher+Epic+Games+UE_4.17\Cook-2017.09.11-16.40.29.txt
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters)
UATHelper: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    --- End of inner exception stack trace ---
UATHelper: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    at BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure

This issue appears to be a regression.

Versions Tested:
4.16.3 - CL: 3561208 - Issue does not occur
4.17.1 - CL: 3586342 - Issue occurs
4.18 - CL: 3597901 - Issue Occurs

Steps to Reproduce
  1. Create a new project (no template or starter content needed)
  2. Go to plugins > Audio > check the boxes for "Sound Utilities" and "Sythesis"
  3. Add an empty actor to the level
  4. Click the Add/Edit blueprint button for the empty actor and create a new actor class blueprint
  5. In the new Actor add a ModularSynth component
  6. In the project settings set the map to the startup map
  7. Package the project for Windows > 64 bit
    Result: The editor does not successfully package the project
    Expected Result: The editor packages the project successfully

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Audio
Affects Versions4.17.14.18
Target Fix4.19
Fix Commit3640276
Main Commit3683447
Release Commit3813083
CreatedSep 11, 2017
ResolvedSep 13, 2017
UpdatedApr 27, 2018
View Jira Issue