Description

Changes to 'Project Settings -> Physics -> Physical Surface' do not update the Enum metadata of the EPhysicalSurface until Project Settings is re-opened.

 

 

EPhysicalSurface Enum metadata is set in UPhysicsSettings::LoadSurfaceType. This should be called when commiting changes(FPhysicalSurfaceList::OnCommitChange) similar to how it is called when opening Project Settings (FPhysicalSurfaceList::RefreshPhysicalSurfaceList).

Steps to Reproduce

Open Project Settings -> Physics -> Physical Surface.

Enter a name for SurfaceType1

Create a physics material and set its surface.

Notice the name set for SurfaceType1 is not available.

Close and Re-Open Project Settings.

Set the physics materials surface.

Notice the surface name is now available.

Have Comments or More Details?

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

2
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.23
CreatedDec 6, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021
View Jira Issue