Hello,
I encountered an issue with the WindDirectionalSourceComponent class in Unreal Engine. Specifically, the Radius property has an editcondition that depends on a variable bSimulatePhysics, which does not exist in the class. This results in warnings in the editor:
LogEditCondition: Error: EditCondition parsing failed: Field name "bSimulatePhysics" was not found in class "WindDirectionalSourceComponent"
Here is the relevant code snippet from WindDirectionalSourceComponent.h:
`UCLASS(collapsecategories, hidecategories=(Object, Mobility), editinlinenew, MinimalAPI)
class UWindDirectionalSourceComponent : public USceneComponent
{
GENERATED_UCLASS_BODY()
UPROPERTY(Interp, Category = WindDirectionalSourceComponent)
float Strength;
UPROPERTY(Interp, Category = WindDirectionalSourceComponent)
float Speed;
UPROPERTY(Interp, BlueprintReadOnly, Category = WindDirectionalSourceComponent)
float MinGustAmount;
UPROPERTY(Interp, BlueprintReadOnly, Category = WindDirectionalSourceComponent)
float MaxGustAmount;
UPROPERTY(Interp, Category = WindDirectionalSourceComponent, meta = (editcondition = “bSimulatePhysics”, ClampMin = “0.1”, UIMin = “0.1”))
float Radius;
UPROPERTY(BlueprintReadOnly, EditAnywhere, Category = WindDirectionalSourceComponent)
uint32 bPointWind : 1;
// Other members…
};`As you can see, the Radius property has an editcondition that references bSimulatePhysics, but this variable is not defined anywhere in the class. This causes the editor to log warnings and potentially affects the functionality of the component.
Could you please address this issue by either adding the bSimulatePhysics variable to the class or modifying the editcondition to reference an existing variable? This would help avoid the warnings and ensure the component functions correctly.
Thank you for your assistance.
Igor