So tried packing a project I’m working on and get the PackagingResults: Error: Unknown Cook Failure. I was able to package it last week, but have added heaps since then. I have attached log file. Be great to get some help tracking down whats stopping the level from packaging. link text
Hello jason8,
Have you tried to recompile your project? Seems like there has been an assertion error, and a lot of unknown functions errors. Is there any chance you edited the engine source code, or changed the engine mid-project?
There also should be a log file inside your AppData/Roaming/Unreal Engine/AutomationTool folder you can take a peek into that as well.
The error appears exactly here. You are trying to access a array you use in the project, but there are not so many elements in the array.
[2020.03.05-08.39.59:141][472]UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: begin: stack for UAT
[2020.03.05-08.39.59:141][472]UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: === Critical error: ===
[2020.03.05-08.39.59:141][472]UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
[2020.03.05-08.39.59:144][472]UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 614]
[2020.03.05-08.39.59:144][472]PackagingResults: Error: begin: stack for UAT
[2020.03.05-08.39.59:144][472]UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Array index out of bounds: 2 from an array of size 1
[2020.03.05-08.39.59:144][472]UATHelper: Packaging (Windows (64-bit)): LogWindows: Error:
[2020.03.05-08.39.59:144][472]UATHelper: [Callstack] 0x00007ff94264676e UE4Editor-ClothingSystemRuntimeCommon.dll!UnknownFunction []
Hi. Will try recompiling. Wouldn’t have edited the source code or engine mid project. I just have just mainly be doing anim blue prints, blends spaces and some other simple blueprints. I have uploaded the two log files in location. In the mean link texttime I will do the recompile.
Thanks so much for the help so far.
link text
Ok, thats good. How would I find this blueprint or object trying to use this array? I do have a skeletal mesh I cannot delete, I was on longer using it and made a newer version, it had a cloth sim on it. The physics asset and animations deleted but the mesh and skeleton are stuck, the editor crashes when I try to move, open or delete it. I’m thinking this is the issue. I’m afraid of deleting the u.asset in the content folder in case it has some really bad affects.
Could the asset I explained be the cause?
Thanks
This is the crash report when I try to delete it.
LoginId:b3ea12154519f21bd472ea90631103c5
EpicAccountId:c84ddf1ffd354b668e5c7bea086b9b95
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 614] Array index out of bounds: 2 from an array of size 1
UE4Editor_Core
UE4Editor_Core
UE4Editor_ClothingSystemRuntimeCommon
UE4Editor_ClothingSystemRuntimeCommon
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
user32
user32
UE4Editor_ApplicationCore
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel3
So solved the issue. So as mentioned, there was a skeletal mesh, with cloth physics I deleted, but the editor could not delete the mesh or skeleton due to the cloth added to it. The physics mesh and anims deleted, but the skeleton and mesh would not delete. Moving, opening or trying to delete these would crash the editor. I made a copy of the project, deleted the fbx and .uasset’s associated with this asset. the project would open with no issues, and I can package now with no errors. Not sure if this is a bug, or the procedure to delete skeletal meshes with cloth is to remove cloth, then delete the asset. Either way, problem solves.
Thanks so much for the help.
Cheers
Glad to hear you were able to resolve your issue, sorry for missing the line with the UE4 Clothing sim.
All good man. you got me looking in the right direction. Thanks so much for your help. Much appreciated. I thin (besides how great UE4 looks) is the amount of support you get.
Cheers mate