Why am I getting Assertion failed: NumRefs >= 0

I’m using ue 5.4 and trying to build a map with the cmdlets (ImportAssets, MoveAssets, PrepareAssetsForCooking, LoadAssetMaterials, ResavePackages).

all cmdlets are working fine except the last one (ResavePackages) it throws an error:

[2024.05.08-11.21.22:607][ 0]LogWindows: Error: Assertion failed: NumRefs >= 0 [File:D:\engGit\unrealengine5-me\Engine\Source\Runtime\RHI\Public\RHIResources.h] [Line: 145]
[2024.05.08-11.21.22:607][ 0]LogWindows: Error: Reference count has underflowed.

any idea’s?

full log:
ResavePackages-backup-2024.05.08-11.21.22.log