Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ICookPackageSplitter
Description
An ICookPackageSplitter for a single generator package normally is constructed only once and handles all generated packages for that generator, but during MPCook in cases of load balancing between CookWorkers, it is possible that the original splitter is destructed but then recreated later. This is guaranteed not to happen without a GarbageCollection pass in between, but that GarbageCollection may fail to destruct the generator package if it is still referenced from other packages or systems. Depending on the ICookPackageSplitter's implemenation, this failure to GC might cause an error, because changes made from the previous splitter are not handled in the next splitter. If RequiresGeneratorPackageDestructBeforeResplit is true, the cooker will log this failure to GC the generator package as an error.
| Name | RequiresGeneratorPackageDestructBeforeResplit |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h |
| Include Path | #include "CookPackageSplitter.h" |
virtual bool RequiresGeneratorPackageDestructBeforeResplit()