Description

USplineMeshComponent::CalcBounds function should be returning an FBoxSphereBounds type, but in the implementation it instead outputs an FBox. This may result in the returning of invalid results, especially for the sphere radius and centering values which FBox does not have.

 

Steps to Reproduce

1. Go to the USplineMeshComponent::CalcBounds function implementation in SplineMeshComponent.cpp line 893.

2. Note that the return type should be FBoxSphereBounds, but the function returns an FBox instead.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-221258 in the post.

1
Login to Vote

Fixed
Affects Versions5.4
Target Fix5.5
Fix Commit35594477
CreatedAug 7, 2024
ResolvedAug 16, 2024
UpdatedAug 16, 2024
Pull Requests
12210 - xeru98
View Jira Issue