Fatal error while cooking

 

I have just started with aximmetry unreal and i keep getting this error. the project was earlier built on 5.2 version and I have used a copy of same file with newer version. But the project keeps throwing this error while cooking


UATHelper: Cooking (Windows): LogThreadingWindows: Error: Runnable thread Foreground Worker #0 crashed.

UATHelper: Cooking (Windows): LogWindows: Error: === Critical error: ===

UATHelper: Cooking (Windows): LogWindows: Error:

UATHelper: Cooking (Windows): LogWindows: Error: Fatal error!

UATHelper: Cooking (Windows): LogWindows: Error:

UATHelper: Cooking (Windows): LogWindows: Error:

UATHelper: Cooking (Windows): LogWindows: Error: Crash in runnable thread Foreground Worker #0

   nightHawk

 
Profile Image
Eifert@Aximmetry
  -  

Hi nightHawk,

Are you sure you are experiencing the same crash as discussed here? https://my.aximmetry.com/post/3834-unreal-engine-for-aximmetry-53-crash
The log fragment you posted could result from different crashes and not necessarily the one mentioned in the other post.
If possible, you could post the rest of the log here.

Warmest regards,

 
Profile Image
nightHawk
  -  

Hi Eifert@Aximmetry. No, I am not facing any issue with camera movement as discussed in the post but yes sometimes it just crashes and other time I get this error. When I am cooking same project with previous version (2023.3.2) the project cooks just fine but when I am opening it with latest version I keep getting same error but the last error number changes (#19, #14, etc.). The entire log is very long. Is it possible for you to suggest what all can be possible reasons for this failure ?

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

The log snippet you provided only indicates that a thread (worker) on the CPU core failed; it doesn't provide any details on the root cause of the issue. This worker information is typically included in all cooking errors and is usually accompanied by a log entry that specifies the actual source in the code or program where the error originates, which is missing from your copied log snippet.

To help us diagnose the problem, we need more lines from the log. You don't need to copy the entire log; the actual error is probably within ±50 lines of the part you copied. However, you are welcome to share the entire log if you prefer, as the forum has a very high character limit. Alternatively, you can upload the log in a text file to a service like Google Drive and share the link here.

Warmest regards,

 
Profile Image
nightHawk
  -  

The entire log is pretty huge. I am adding in last 50-60 lines of it for reference. If this still dos not help then I will share a drive doc link.

UATHelper: Cooking (Windows): Running UnrealPak with arguments: -CreateGlobalContainer="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\StagedBuilds\Windows\UE231118_AajTak_Day\Content\Paks\global.utoc" -CookedDirectory="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows" -PackageStoreManifest="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\packagestore.manifest" -Commands="C:\Users\CPU087\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Aximmetry+2024.2.0

_UnrealEngine\IoStoreCommands.txt" -ScriptObjects="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\scriptobjects.bin" -patchpaddingalign=2048 -compressionformats=Oodle -compresslevel=5 -compressmethod=Kraken   -cryptokeys="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\Crypto.json" -compressionMinBytesSaved=1024 -compressionMinPercentSaved=5 -WriteBackMetadataToAssetRegistry=Disabled 

UATHelper: Cooking (Windows): Running: C:\Program Files\Aximmetry\2024.2.0_UnrealEngine\Engine\Binaries\Win64\UnrealPak.exe -CreateGlobalContainer="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\StagedBuilds\Windows\UE231118_AajTak_Day\Content\Paks\global.utoc" -CookedDirectory="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows" -PackageStoreManifest="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\packagestore.manifest" -Commands="C:\Users\CPU087\AppData\Roaming\Unreal E

ngine\AutomationTool\Logs\C+Program+Files+Aximmetry+2024.2.0_UnrealEngine\IoStoreCommands.txt" -ScriptObjects="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\scriptobjects.bin" -patchpaddingalign=2048 -compressionformats=Oodle -compresslevel=5 -compressmethod=Kraken   -cryptokeys="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\Crypto.json" -compressionMinBytesSaved=1024 -compressionMinPercentSaved=5 -WriteBackMetadataToAssetRegistry=Disabled

UATHelper: Cooking (Windows): LogIoStore: Display: ==================== IoStore Utils ====================

UATHelper: Cooking (Windows): LogIoStore: Display: Parsing crypto keys from a crypto key cache file 'D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\Crypto.json'

UATHelper: Cooking (Windows): LogIoStore: Display: Container signing - DISABLED

UATHelper: Cooking (Windows): LogIoStore: Display: Directory index - ENABLED

UATHelper: Cooking (Windows): LogIoStore: Display: Using compression format 'Oodle'

UATHelper: Cooking (Windows): LogIoStore: Display: Using memory mapping alignment '16384'

UATHelper: Cooking (Windows): LogIoStore: Display: Using compression block size '65536'

UATHelper: Cooking (Windows): LogIoStore: Display: Using compression block alignment '2048'

UATHelper: Cooking (Windows): LogIoStore: Display: Using compression min bytes saved '1024'

UATHelper: Cooking (Windows): LogIoStore: Display: Using compression min percent saved '5'

UATHelper: Cooking (Windows): LogIoStore: Display: Using max partition size '0'

UATHelper: Cooking (Windows): LogIoStore: Display: Not using DDC for compression

UATHelper: Cooking (Windows): LogIoStore: Display: Using command list file: 'C:\Users\CPU087\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Aximmetry+2024.2.0_UnrealEngine\IoStoreCommands.txt'

UATHelper: Cooking (Windows): LogIoStore: Display: Selected Oodle level 5 (Optimal1) from command line for shaders

UATHelper: Cooking (Windows): LogIoStore: Display: Searching for cooked assets in folder 'D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows'

UATHelper: Cooking (Windows): LogIoStore: Display: Found '37771' files

UATHelper: Cooking (Windows): LogIoStore: Display: Using input asset registry: D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows/UE231118_AajTak_Day/Metadata/DevelopmentAssetRegistry.bin

UATHelper: Cooking (Windows): LogIoStore: Display: Added 6913 hashes to the hash database, init took 0.000687 seconds

UATHelper: Cooking (Windows): LogIoStore: Display: Creating container targets...

UATHelper: Cooking (Windows): OodleDataCompression: Display: Oodle v2.9.10 format for pak/iostore with method=Kraken, level=5=Optimal1

UATHelper: Cooking (Windows): LogIoStore: Display: Parsing packages...

UATHelper: Cooking (Windows): LogIoStore: Display: Reading package assets...

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 1000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Stadium/RajivGandhi/Light_Green_roof.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 2000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Stadium/MAChidambaram/BuildingMat-00055.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 3000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/MACHIDAMBARAM/01_Asset/01_bg/ChidambaramStadium/Texture/standMetal_Roughness.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 4000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Stadium/03_EdenGardens_Kolkata/Materials/BuildingMat-00127_002.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 5000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/Engine/Content/Functions/Engine_MaterialFunctions01/Volumetrics/BeersLaw.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 6000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Assets/Wicket_Keeper/Texture/Pant_8_AFGHANISTAN.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 7000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Stadium/SawaiMansingh/Ext/3d/BuildingMesh-00059.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 8000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/Engine/Content/EngineMaterials/Substrate/GLints/dict_16_192_64_0p5_0p02_0044_0015.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 9000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/Engine/Plugins/Enterprise/DatasmithContent/Content/Materials/TileMirrorAxis.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 10000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Stadium/01_NarendraModi_ahmedabad/Textures/C-00007-texture.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 11000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Input/231023_BalconyStudio_AajTak/Assets/Logo/231118_AajTakLogo/logo_red_base.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 12000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/Engine/Content/EngineMaterials/Substrate/Glints2/dict_0007_0027.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 13000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Assets/Newyork/2/B-00001-texture.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 14000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Assets/Umpire/Texture/Umpire_Belt_Mice_Watch_M_Base_color.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Reading 15000/15425: 'D:/New_test_file/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3/Saved/Cooked/Windows/UE231118_AajTak_Day/Content/Stadium/03_EdenGardens_Kolkata/fan_spawner/fans/8K_Fan_Models/Fan08/T_8K_Fan_BonePos_8.uasset'

UATHelper: Cooking (Windows): LogIoStore: Display: Packages read 15,425 files in 0.06 seconds, 30,364,029 total bytes, 499,046,399 bytes per second

UATHelper: Cooking (Windows): LogIoStore: Display: Processing shader libraries, compressing with Oodle Mermaid, level 5 (Optimal1)

UATHelper: Cooking (Windows): LogShaderLibrary: Display: Created IoStoreShaderArchive header: shaders grouped in 397 groups (147 of them didn't need new indices), average uncompressed size 176669 bytes, min 172 bytes, max 1037032 bytes (r.ShaderCodeLibrary.MaxShaderGroupSize=1048576)

UATHelper: Cooking (Windows): LogIoStore: Display: Global-PCD3D_SM5(PCD3D_SM5): Recompressed 3973 shaders as 397 groups. Library size changed from 24788 KB (2.76 : 1 ratio) to 11376 KB (6.02 : 1 ratio), 45.89% of previous.

UATHelper: Cooking (Windows): LogShaderLibrary: Display: Created IoStoreShaderArchive header: shaders grouped in 473 groups (155 of them didn't need new indices), average uncompressed size 316262 bytes, min 2166 bytes, max 1033458 bytes (r.ShaderCodeLibrary.MaxShaderGroupSize=1048576)

UATHelper: Cooking (Windows): LogIoStore: Display: Global-PCD3D_SM6(PCD3D_SM6): Recompressed 4680 shaders as 473 groups. Library size changed from 92220 KB (1.58 : 1 ratio) to 48966 KB (2.98 : 1 ratio), 53.10% of previous.

UATHelper: Cooking (Windows): LogShaderLibrary: Display: Created IoStoreShaderArchive header: shaders grouped in 1073 groups (143 of them didn't need new indices), average uncompressed size 179875 bytes, min 236 bytes, max 1046813 bytes (r.ShaderCodeLibrary.MaxShaderGroupSize=1048576)

UATHelper: Cooking (Windows): LogIoStore: Display: UE231118_AajTak_Day-PCD3D_SM5(PCD3D_SM5): Recompressed 10067 shaders as 1073 groups. Library size changed from 87116 KB (2.16 : 1 ratio) to 46732 KB (4.03 : 1 ratio), 53.64% of previous.

UATHelper: Cooking (Windows): LogShaderLibrary: Display: Created IoStoreShaderArchive header: shaders grouped in 1138 groups (130 of them didn't need new indices), average uncompressed size 629376 bytes, min 2562 bytes, max 1059941 bytes (r.ShaderCodeLibrary.MaxShaderGroupSize=1048576)

UATHelper: Cooking (Windows): LogIoStore: Display: UE231118_AajTak_Day-PCD3D_SM6(PCD3D_SM6): Recompressed 13861 shaders as 1138 groups. Library size changed from 405969 KB (1.72 : 1 ratio) to 249876 KB (2.80 : 1 ratio), 61.55% of previous.

UATHelper: Cooking (Windows): LogIoStore: Display: Shaders processed in 5.74 seconds

UATHelper: Cooking (Windows): LogIoStore: Display: Processing redirects...

UATHelper: Cooking (Windows): LogIoStore: Display: Creating disk layout...

UATHelper: Cooking (Windows): LogIoStore: Display: Ordered 15425 packages using fallback bundle order

UATHelper: Cooking (Windows): LogIoStore: Display: Serializing container(s)...

UATHelper: Cooking (Windows): LogIoStore: Display: Hashing chunks (7863/25422)...

UATHelper: Cooking (Windows): LogIoStore: Display: Hashing chunks (16030/25422)...

UATHelper: Cooking (Windows): LogIoStore: Display: Hashing chunks (19400/25422)...

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (1771/25422)... [25 compressed] [537 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (1771/25422)... [124 compressed] [14091 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (1771/25422)... [347 compressed] [6867 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (2108/25422)... [593 compressed]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (2382/25422)... [593 compressed] [27207 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (2382/25422)... [593 compressed] [19342 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (2382/25422)... [593 compressed] [10173 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (2382/25422)... [593 compressed] [125 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (2384/25422)... [703 compressed] [2867 compression tasks scheduled]

UATHelper: Cooking (Windows): LogIoStore: Display: Writing chunks (2529/25422)... [892 compressed] [22777 compression tasks scheduled]

UATHelper: Cooking (Windows): LogThreadingWindows: Error: Runnable thread Background Worker #10 crashed.

UATHelper: Cooking (Windows): LogWindows: Error: === Critical error: ===

UATHelper: Cooking (Windows): LogWindows: Error:

UATHelper: Cooking (Windows): LogWindows: Error: Fatal error!

UATHelper: Cooking (Windows): LogWindows: Error:

UATHelper: Cooking (Windows): LogWindows: Error:

UATHelper: Cooking (Windows): LogWindows: Error: Crash in runnable thread Background Worker #10

UATHelper: Cooking (Windows): Took 32.95s to run UnrealPak.exe, ExitCode=3

UATHelper: Cooking (Windows): Command failed (Result:3): C:\Program Files\Aximmetry\2024.2.0_UnrealEngine\Engine\Binaries\Win64\UnrealPak.exe -CreateGlobalContainer="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\StagedBuilds\Windows\UE231118_AajTak_Day\Content\Paks\global.utoc" -CookedDirectory="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows" -PackageStoreManifest="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\packagestore.manifest" -Commands="C:\Users\CPU087\AppDat

a\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Aximmetry+2024.2.0_UnrealEngine\IoStoreCommands.txt" -ScriptObjects="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\scriptobjects.bin" -patchpaddingalign=2048 -compressionformats=Oodle -compresslevel=5 -compressmethod=Kraken   -cryptokeys="D:\New_test_file\jaidev project\UE231118_AajTak_Day 5.3 - 2 5.3\Saved\Cooked\Windows\UE231118_AajTak_Day\Metadata\Crypto.json" -compressionMinBytesSaved=1024 -compressionMinPercentSaved=5 -WriteBackMetadataToAssetRegistry=Disabled . 

See logfile for details: 'UnrealPak-2024.07.08-15.52.28.txt' 

UATHelper: Cooking (Windows): AutomationTool executed for 0h 2m 29s

UATHelper: Cooking (Windows): AutomationTool exiting with ExitCode=3 (Error_UnknownCommand)

UATHelper: Cooking (Windows): BUILD FAILED

LogAximmetry: Error: Cooking failed. (Result: "Failed".)

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Well, it really crashed without much of an explanation, so I can only provide some tips rather than concrete solutions.

Since it crashed while "Writing chunks," it might be an issue related to writing files on your drive. You should ensure that you have enough space on your drive.
Additionally, you should verify that you do not have faulty hardware in your computer. The best way to exclude this possibility is to try cooking the same project on a different computer.

It appears that your project's name and its path contain spaces, which could cause issues. You should remove these spaces. For example, change "/jaidev project/UE231118_AajTak_Day 5.3 - 2 5.3" to "/jaidevproject/UE231118_AajTak_Day".

If cooking still doesn't work afterward, delete all folders in the Unreal Project's root directory except for the following folders: Config, Content, Plugins, and Source. Make sure to back up the entire project beforehand to avoid losing any critical data.

You could also try turning off Iterative Cooking:

One more thing you could try is turning off Use Io Store:

Warmest regards,

 
Profile Image
JDarras
  -  

Did you install visual basic 2022 community ?

 
Profile Image
nightHawk
  -  

@JDarras how can I check that ? I installed Studio DE, Common Library and UE

 
Profile Image
TwentyStudios
  -  

@Nighthawk: Please read the Aximmetry documentation about installing Visual Studio and follow the instructions carefully.