Description

A verify command in CookOnTheFlyServer is checking the wrong condition and causing cooking to fail for patches that are based on a previous release or have had something removed from the build.

The verify is in CookOnTheFlyServer.cpp line #6062 (in 4.18) and is:

 verify( !GetAllPackageFilenamesFromAssetRegistry(OriginalAssetRegistryPath, PackageFiles) ); 

This Verify triggers if anything other than null is returned. This should be the opposite, so that it only triggers when null is returned.

Steps to Reproduce

No reproduction at this time, code issue

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-55015 in the post.

0
Login to Vote

Won't Fix
ComponentUE - Foundation - Core
Affects Versions4.184.194.20
CreatedFeb 9, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021