Skip to content

Commit 5581790

Browse files
committed
Fix Packaging error by no initializing property in struct
1 parent 1ba6ac8 commit 5581790

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Plugins/KawaiiPhysics/Source/KawaiiPhysics/Public/AnimNode_KawaiiPhysics.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ struct KAWAIIPHYSICS_API FAnimNode_KawaiiPhysics : public FAnimNode_SkeletalCont
960960
bool bEditing = false;
961961

962962
UPROPERTY()
963-
double LastEvaluatedTime;
963+
double LastEvaluatedTime = 0.0;
964964

965965
#endif
966966

Plugins/KawaiiPhysics/Source/KawaiiPhysics/Public/KawaiiPhysicsExternalForce.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct KAWAIIPHYSICS_API FKawaiiPhysics_ExternalForce
7979

8080
/** Whether the external force is applied only once */
8181
UPROPERTY()
82-
bool bIsOneShot;
82+
bool bIsOneShot = false;
8383

8484
#if ENABLE_ANIM_DEBUG
8585
/** Length of the debug arrow */
@@ -435,7 +435,7 @@ struct KAWAIIPHYSICS_API FKawaiiPhysics_ExternalForce_Wind : public FKawaiiPhysi
435435
* This is used to access the world context for the external force.
436436
*/
437437
UPROPERTY()
438-
UWorld* World;
438+
TObjectPtr<UWorld> World;
439439

440440
public:
441441
virtual void PreApply(FAnimNode_KawaiiPhysics& Node, const USkeletalMeshComponent* SkelComp) override;

Plugins/KawaiiPhysics/Source/KawaiiPhysics/Public/KawaiiPhysicsLimitsDataAsset.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct FCollisionLimitDataBase
3434
UPROPERTY(meta=(DeprecatedProperty))
3535
FQuat Rotation = FQuat::Identity;
3636

37-
UPROPERTY(meta=(DeprecatedProperty))
37+
UPROPERTY(meta=(DeprecatedProperty, IgnoreForMemberInitializationTest))
3838
FGuid Guid = FGuid::NewGuid();
3939

4040
protected:

0 commit comments

Comments
 (0)