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).
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.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-85492 in the post.
2 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.23 |
Created | Dec 6, 2019 |
---|---|
Resolved | Aug 27, 2021 |
Updated | Aug 27, 2021 |
6452 - projectgheist |