In version 5.4.1,Load the pak inside the groom crash

In version 5.4.1,If Groom asset is packaged into a pak and mounted through PakFile and then loaded, it will crash. However, Same project in version 5.0.1, the loading is normal. I am trying to update the engine to version 5.4.4 to see if it also crashes

1 Like

It is verified that the 5.4.4 version has the same crash logs, and the call stack information is the same as the above。

Assertion failed: Offset + BytesToRead <= UncompressedFileSize && Offset >= 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\PakFile\Private\IPlatformFilePak.cpp] [Line: 4535]

0x00007ff66cac3268 GalaxyGroom.exe!FPakAsyncReadFileHandle::ReadRequest()

0x00007ff66a68453c GalaxyGroom.exe!UE::operator<<()

0x00007ff66a6b08ae GalaxyGroom.exe!UE::FPackageResourceIoBackend::Resolve()

0x00007ff669d4fd0e GalaxyGroom.exe!FIoDispatcherImpl::ProcessIncomingRequests()

0x00007ff669d5a8af GalaxyGroom.exe!FIoDispatcherImpl::Run()

0x00007ff66a0841d8 GalaxyGroom.exe!FRunnableThreadWin::Run()

0x00007ff66a077d27 GalaxyGroom.exe!FRunnableThreadWin::GuardedRun()

0x00007ffe47a87374 KERNEL32.DLL!UnknownFunction

Crash in runnable thread IoDispatcher

Thanks for helping me where my crash comes from. It seems to be a regression. Did you try to use meshcards?

I did not use mesh cards, then import the.ADC file into the project in 5.4, package it into pak resources, Mount it through FPakPlatformFile, and then load the resources, which will inevitably crash

I met the same problem recently. If your UE are built with source code, you can do like this to fix it:UE 5.4.1 Groom crash with Package buiids - #6 by utoufu12138