The intention is simple: I don’t want this component to be saved or loaded to disk since it contains large mesh and should only be avaialble in editor. It’s used for debugging purposes only.
However it’s still saved when I press save and loaded when I open level after editor restart. Also tried SkipSerialization, didn’t help. And I see this component when I select the actor in the editor.
How can I totally exclude component from being serialized? I will always generate its content on the fly when necessary.
EObjectFlags::RF_Transient makes it so that the object doesn’t get saved into the level. UPROPERTY(Transient) makes it so that the property never gets serialized or saved.