Can't compile on ue and have : was modified or is new

The parameter should show up in the details panel of the actor where you added the UPROPERTY with the TObjectPtr to the UPhysicalMaterial.
If you do not have an actor yet, then create a new blueprint actor based on the c++ file you created with the exposed property.