EditInlineNew properties on components can't be properly set if the component name has whitespace in it. This appears to be a problem with resolving the property name in SPropertyEditorEditInline::OnClassPicked.
UCLASS(DefaultToInstanced, EditInlineNew) class UEditInlineNewObject : public UObject { GENERATED_BODY() }; UCLASS(BlueprintType, meta = (BlueprintSpawnableComponent)) class UEditInlineNewObjectComponent : public UActorComponent { GENERATED_BODY() public: UPROPERTY(EditAnywhere, Instanced) UEditInlineNewObject* EditInlineNewObject; };
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-140914 in the post.
1 |
Component | UE - Gameplay - Blueprint Editor |
---|---|
Affects Versions | 4.27, 5.0, 5.1 |
Created | Feb 1, 2022 |
---|---|
Updated | Sep 22, 2022 |