What fails exactly, casting something to IUnit, or assigning an IUnit* to the TSubclassOf< UObject >? Compile time or run time? And how is the IUnit class declared?
What fails exactly, casting something to IUnit, or assigning an IUnit* to the TSubclassOf< UObject >? Compile time or run time? And how is the IUnit class declared?