Heya,
I have a bunch of uassets not showing up after a source build upgrade. I have fixed this in the past with the resavepackages commandlet. However I do not have a copy of my old script for it and I cant figure out how to format the commandlet to process all assets and update them to the current version.
Could anyone correctly tell me how to format the -ResavePackagesCommandlet ?
FYI,
https://docs.unrealengine.com/latest/INT/API/Editor/UnrealEd/Commandlets/UResavePackagesCommandlet/index.html
Thanks,
Dan.
Found the answer. Il leave this here as there’s not many clear posts on this.
Make a batch file running your engine, and project, and include the commandlet. I used something like this:
“c:/Program Files/Epic Games/UE_4.16/Engine/Binaries/Win64/UE4Editor-Cmd.exe” “INSERTPROJECTPATH.uproject” -run=resavepackages
5 Likes