Hi,
We are currently upgrading from 4.12 to 4.14 (testing 4.13 along the way to be sure) and we are up to updating to 4.14 but we are having issues doing so.
When we try to build on 4.14, we get one of our class throwing this error:
Error C2664 'int32 UVOComponent::CountVoxels(const TArray<TEnumAsByte<EVOGroup>,FDefaultAllocator> &,const TArray<TEnumAsByte<EVOGroup>,FDefaultAllocator> &)': cannot convert argument 1 from 'TArray<EVOGroup,FDefaultAllocator>' to 'const TArray<TEnumAsByte<EVOGroup>,FDefaultAllocator> &'
this error is marked at the GENERATED_BODY() line of one of our classes:
UCLASS(editinlinenew, meta = (BlueprintSpawnableComponent, DisplayName = "Voxelized Object Component"), ClassGroup = Rendering)
class VOXELIZEDOBJECTPLUGIN_API UVOComponent : public UVOMeshComponent
{
GENERATED_BODY()
public:
UVOComponent(const FObjectInitializer& Initializer);
/** Simple collision primitive to use as the root component. */
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UBoxComponent* BaseCollisionComponent;
/** Static Mesh used as model for generating voxels */
UPROPERTY(EditAnywhere, BlueprintReadWrite)
UStaticMesh* OriginalMesh;
...
}
I am aware that from one version to the other Generated_Body usually changes but we were wondering if this was a common issue with 4.14