I am currently using the iostore
feature to generate pak
, ucas
, and utoc
files as part of my packaging process. This results in around 20 separate pack files.
However, I have noticed that most of these pack files change every time I package the project, even when no relevant modifications have been made. Upon comparing the contents of these packs, I discovered that the changes are related to the order of shadercode
.
Specifically, the shadercode
itself has not been modified; only its order has changed. Because of this, even if the hash value remains the same, it is difficult to determine whether a pack contains actual modifications or if it was simply reordered until I manually open the pack and inspect it.
Additionally, this issue does not occur for all packs, and I have not been able to identify a clear pattern as to when or why it happens.
Would anyone be able to share a way to handle this issue? Is there a method to fix or sort the order of shadercode
during packaging?