For future reference, if you’re having this issue where it can’t rename tmp files during compiling, add the Unreal Engine’s path as an exclusion to your Antivirus. It turns out Avast was seeing it as a “foreign” program and denied it permission to rename the file. With Unreal Engine added as an exclusion to my antivirus, it now works as expected.