Hi, I have a small project with a character editor based on the new mutable plugin. In editor everything works fine, but any packaged build crashes as soon as I load a pawn that uses a customized object instances.
In a build with debug settings I get following error message:
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 783]
Array index out of bounds: 593 into an array of size 105
0x00007ff78c929d02 MyGame-Win64-DebugGame.exe!UCustomizableInstancePrivate::BuildOrCopyClothingData() []
0x00007ff78c95cf80 MyGame-Win64-DebugGame.exe!UCustomizableInstancePrivate::UpdateSkeletalMesh_PostBeginUpdate0() []
0x00007ff78c9a7d21 MyGame-Win64-DebugGame.exe!impl::Task_Game_ConvertResources() []
0x00007ff78c9798a7 MyGame-Win64-DebugGame.exe!UCustomizableObjectSystem::AdvanceCurrentOperation() []
0x00007ff78c9b2498 MyGame-Win64-DebugGame.exe!UCustomizableObjectSystem::TickInternal() []
0x00007ff78adb4321 MyGame-Win64-DebugGame.exe!FStreamingManagerCollection::UpdateResourceStreaming() []
0x00007ff78adadde9 MyGame-Win64-DebugGame.exe!FStreamingManagerCollection::Tick() []
0x00007ff78afc7769 MyGame-Win64-DebugGame.exe!UGameEngine::Tick() []
0x00007ff78c1e3b05 MyGame-Win64-DebugGame.exe!FEngineLoop::Tick() []
0x00007ff78c1f43ec MyGame-Win64-DebugGame.exe!GuardedMain() []
0x00007ff78c1f44ba MyGame-Win64-DebugGame.exe!GuardedMainWrapper() []
0x00007ff78c1f71b2 MyGame-Win64-DebugGame.exe!LaunchWindowsStartup() []
0x00007ff78c2040d4 MyGame-Win64-DebugGame.exe!WinMain() []
0x00007ff79127b43a MyGame-Win64-DebugGame.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ffe9dd1e8d7 KERNEL32.DLL!UnknownFunction
I get the error after I start the game with the .exe file from the packaged build. The error appears asap a character with mutable configuration is spawned. It appears only on packaged builds. Editor works fine.
Any ideas how to solve it?