Packaging failure occurs with nativize blueprints enabled when you have an array of classes and you try to set it with an array from an instance of a native C++ class.
Found in 4.15.1. Reproduced in 4.14.3 and 4.16 Main CL# 3354254
public: UPROPERTY(BlueprintReadOnly, Category = "Test") TArray<TSubclassOf<AMyActor>> ActorClasses;
Result: Packaging fails with the following error:
Unreal Projects\MyProject2\Intermediate\WindowsNoEditor\NativizedAssets\Source\NativizedAssets\Private\TestActor__pf3688439234.cpp(284): error C2679: binary '=': no operator found which takes a right-hand operand of type 'TArray<TSubclassOf<AMyActor>,FDefaultAllocator>' (or there is no acceptable conversion)
Expected: No error would occur
Head over to the existing Questions & Answers thread and let us know what's up.
2 |
Component | UE - Gameplay - Blueprint Runtime |
---|---|
Affects Versions | 4.14, 4.15, 4.16 |
Target Fix | 4.16 |
Created | Mar 23, 2017 |
---|---|
Resolved | Apr 5, 2017 |
Updated | May 12, 2017 |