Packaging will fail if a Blueprint is set to be nativized, and it includes a TArray inherited from a parent code class that is of type TSubclassOf< SomeClass >.
REGRESSION:
Unknown. Blueprint nativization was still experimental in 4.14. This may be similar to [Link Removed].
UPROPERTY(BlueprintReadWrite, EditAnywhere)
TArray<TSubclassOf<class AMyOtherActor>> TheOtherClass;
RESULT:
The package fails with a message stating "error C2679: binary '=': no operator found which takes a right-hand operand of type 'TArray<UClass *,FDefaultAllocator>' (or there is no acceptable conversion)"
EXPECTED:
The package completes successfully.
Head over to the existing Questions & Answers thread and let us know what's up.
4 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.15, 4.16 |
Target Fix | 4.16 |
Created | Mar 8, 2017 |
---|---|
Resolved | Apr 5, 2017 |
Updated | May 12, 2017 |