Non-deterministic builds due to case-insensitive paths

We are experiencing non-determinism when cooking and packaging the game. It seems to be caused by FName and its case-insensitive nature.

For every build I generate a simple file using “UnrealPak.exe -List” and every time we see differences in directory names:

We are on UE 5.4.3, using multi-process cooking and IoStore.

From what I see WITH_CASE_PRESERVING_NAME should be enabled not only in the editor, but in UnrealPak.exe as well.

Is there any hotfix we could apply?

Are you using a file open order?

/Per

Sorry for the late reply. Coming back from sabbatical. There’s no hot-fix to apply unfortunately. We have seen the nondeterministic casing internally so that should get fixed pretty soon.

We have such setting in DefaultGame.ini:

[/Script/UnrealEd.ProjectPackagingSettings]
PakOrderFileSpecs=(Pattern="CustomOpenOrder.log")

And Project\Build\FileOpenOrder\CustomOpenOrder.log is an empty file.

From what I understand from the post from public forum (https://forums.unrealengine.com/t/different\-pak\-files\-for\-same\-packages/1278732/7\), this should disable load order optimization and we should get deterministic order each time.