Skip to content

Crash inUSProjectileMovementComponent::Reset()  #12

@mss10001

Description

@mss10001

Due to the pooling system you can get a crash in USProjectileMovementComponent::Reset(). We need to check with HasbeenInitialized() if the movement component is already initialized before initializating it again.

// Properly resets velocities and rotations
if (HasBeenInitialized())
{
UninitializeComponent();
}

InitializeComponent();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions