Currently, the key for the UpgradeFromUnit variable on the TUnitUIModuleDescriptor module is hardcoded for any given upgraded unit. If this reference were pulled from the UnitCreationContext instead, it would take less time for any errors to be caught.
Currently, the key for the
UpgradeFromUnit
variable on theTUnitUIModuleDescriptor
module is hardcoded for any given upgraded unit. If this reference were pulled from theUnitCreationContext
instead, it would take less time for any errors to be caught.