I just can’t stand it. This bug is appearing in UE 5.0.1 also.
Make cpp class based on AActor with say, UStaticMeshComponent included. Inherit BP from this class. Set its mesh to a value. Start recompliation with Live Coding. Save project. Restart UE. Notice that mesh was set to null.