How do I fix bad CRCs on a pak file?

I have done an optimization to the cooking process which involves changing how the CRCs are generated. Everything works ok but the issue is that on the cooking process the CRCs for the pak files (and I have no idea what they are) always have bad CRCs. The result is that OGGs need to be regenerated and that doesn’t allow me to profile what I want. I asked this question on AnswerHub but I haven’t gotten an answer. The URL is How do I fix bad CRCs on a pak file? - Platform & Builds - Epic Developer Community Forums

Does anybody know how to regenerate the CRCs for those pak files?


It turns out the issue was a bug in my CRC code. I only found that out after reading Derived Data Cache | Unreal Engine 5.2 Documentation