Hello, today I launched unreal engine as usual and I launched my project in standalone mode and it crashes every time indicating this error? Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Containers\ContainerHelpers.cpp] [Line: 8] Trying to resize TArray to an invalid size of 2147483648
Sadly, Unreal Engine 5 isn’t perfect. I too experience random crashing and often times it will happen over and over with some almost similar messages in the crash log. It might be during working on a project, opening the project, packaging and such, a bit sporadic.
I can’t say if I have run into the TArray Error or not although it sounds familiar so I might not be as helpful here. I haven’t really found a specific solution yet that works flawlessly since it happens at random. I believe there is actually a bigger problem somewhere within UE5 that Epic failed to mention to everyone or else it may be known and has yet to be decently addressed which is difficult because it doesn’t function the same for all of us due to different systems running it and tech is never perfect.
What I did find to get it working on my end is that it often resolves itself after multiple tries to reopen a Steam Game Project that I am developing and usually it will eventually work via brute force.
Another thing that sometimes helps is deleting the Derived Data Cache, Intermediate, and Saved Folders within the Project Folder on your Hard Drive.
One other thing that can help is rebooting your Computer or open the Epic Launcher as Admin.
thank you for your reply unfortunately nothing seems to work, nobody ever gets this error? I don’t even know what Tarray is or how to resize it I’m in BP I’ve never touched a cpp file
I’ve looked at everything, apparently I haven’t found any problems with my arrays, but I don’t have any problems packaging the game, so I’m going to continue like this for now. Thank you for your answers.