Hi,
I’m trying to create custom UStaticMesh for editor, with some extra properties. This should derive from UStaticMesh because there won’t be any changes with the geometry, importing or any other stuff, just couple of this that will be set after asset is imported. I need it to act as normal UStaticMesh in every other place.
You can add new class from editor and choose UStaticMesh as parent but if I try to compile the code, there are some error LNK2001: unresolved external symbol.
I believe this is because MinimalAPI is used in base class and methods are not exported outside of Engine. Deriving from USkeletalMesh which extends the same IInterface_AssetUserData interface but have ENGINE_API for entire class and no MinimalAPI used, creates no errors.
Is there a solution for this issue that don’t require customizing entire engine?
If not, what is the purpose of not exporting everything and why this class can be derived from editor if it actually can’t be derived at all?
I would appreciate if someone could provide me an answer.