[2024.09.19-07.07.59:315][756]PackagingResults: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 771]
[2024.09.19-07.07.59:315][756]PackagingResults: Error: Array index out of bounds: 0 from an array of size 0
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd1b5a2f32 UnrealEditor-Engine.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd1b5a3c59 UnrealEditor-Engine.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd1b52815a UnrealEditor-Engine.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd42aa8e15 UnrealEditor-CoreUObject.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd42a3a983 UnrealEditor-CoreUObject.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd42a3ecbf UnrealEditor-CoreUObject.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd42a51efc UnrealEditor-CoreUObject.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd42a521c9 UnrealEditor-CoreUObject.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd1197e30e UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd117061a1 UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd116e90ce UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd1171295a UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:315][756]PackagingResults: Error: [Callstack] 0x00007ffd11711e97 UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:316][756]PackagingResults: Error: [Callstack] 0x00007ffd113ffe50 UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:316][756]PackagingResults: Error: [Callstack] 0x00007ffd113bf323 UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:316][756]PackagingResults: Error: [Callstack] 0x00007ffd113ddc6f UnrealEditor-UnrealEd.dll!UnknownFunction
[2024.09.19-07.07.59:316][756]PackagingResults: Error: [Callstack] 0x00007ff6f125733f UnrealEditor-Cmd.exe!UnknownFunction
[2024.09.19-07.07.59:316][756]PackagingResults: Error: [Callstack] 0x00007ff6f124cfb6 UnrealEditor-Cmd.exe!UnknownFunction
[2024.09.19-07.07.59:316][756]PackagingResults: Error: [Callstack] 0x00007ff6f124d37a UnrealEditor-Cmd.exe!UnknownFunction
[2024.09.19-07.07.59:316][756]PackagingResults: Error: [Callstack] 0x00007ff6f1250854 UnrealEditor-Cmd.exe!UnknownFunction
[2024.09.19-07.07.59:317][756]PackagingResults: Error: [Callstack] 0x00007ff6f1266984 UnrealEditor-Cmd.exe!UnknownFunction
[2024.09.19-07.07.59:317][756]PackagingResults: Error: [Callstack] 0x00007ff6f1268eb6 UnrealEditor-Cmd.exe!UnknownFunction
[2024.09.19-07.07.59:317][756]PackagingResults: Error: [Callstack] 0x00007ffdbb6d257d KERNEL32.DLL!UnknownFunction
[2024.09.19-07.07.59:317][756]PackagingResults: Error: end: stack for UAT
You’re trying to read from an empty array
@ClockworkOcean
There is no function in the callstack created by OP. If it was, one of those symbols would have a meaningful name and it would come from his project’s dll. So he is NOT the one trying to read from and empty array. It’s an issue with the Engine/Editor
@ArkCreator
Did you write any actual C++ code or is your project blueprint-only?
Do you know what causes this issue (reproduction steps)?
If it’s an issue caused by a faulty blueprint node, you may find a blueprint backtrace in the log, right before this whole message appears…
…and there might be some useful warnings/errors in the log besides the callstack.
You can copy-paste WHOLE log here, if you don’t know what to look for.
The callstack alone does not tell anything useful because you don’t have debug symbols (that’s why it says UnknownFunction
everywhere).
The error Assertion failed: (Index >= 0) & (Index < ArrayNum)
is meaningless because we don’t know what have led to it happening. We need more context.
here’s the full log!
Tournament.log (1.1 MB)
I have no idea where that is it started happening after I changed my engine version and updated a plugin I believe
This crash happens during shader compilation while packaging the project, right?
Did you make sure to delete all intermediate files from your project while changing the Engine version?
If there are any build artifacts from older versions of engines they can cause all kinds of issues.
Try deleting those files and then rebuilding/repacking whole project.
Here’s the list of all intermediate files: Cleaning Your Project | Unreal Engine Community Wiki
If this does not help, provide a new log.
Crash occurs right after this error:
[2024.09.19-07.07.01:636][582]UATHelper: Cooking (Windows): LogTexture: Error: Unable to get texture source data for synchronous build of /Game/Meshes/Terminal/Terminal_Fridge_UV_Computer_2_BaseColor.Terminal_Fridge_UV_Computer_2_BaseColor
[2024.09.19-07.07.01:643][583]PackagingResults: Error: Unable to get texture source data for synchronous build of /Game/Meshes/Terminal/Terminal_Fridge_UV_Computer_2_BaseColor.Terminal_Fridge_UV_Computer_2_BaseColor
…so we can speculate that asset /Game/Meshes/Terminal/Terminal_Fridge_UV_Computer_2_BaseColor.Terminal_Fridge_UV_Computer_2_BaseColor
might be broken.
but before doing anything with said asset try approach with deleting intermediate files first
Ok I did what you said and now I no longer get that error and my game cooks! however, now I get a bunch of warnings when I try to package it and the packaging ultimately fails.
NEW LOG
Tournament.log (5.8 MB)
Log is super huge and has lots of warnings and errors.
You should fix them yourself one by one. It is impossible to recognize them all by me.
Most of those errors are about broken blueprint nodes.
Are you sure all blueprints are compiling in the Editor?
When you Play In Editor aren’t you getting any runtime errors?
Anyway, crash is solved which was the initial problem, so this thread can be closed.
If you won’t be able to solve the errors you should probably create another forum thread.