Sub-classing ABlockingVolume generates errors when editing properties

I wonder if it’s possible to sub-class ABlockingVolume and add properties to it ? It’s an actor and it should be straight-forward.

I wanted to add a property like so:

UPROPERTY(EditAnyWhere, Category = Lock)
FString SomeName;

I dropped an instance of that sub-class in the editor but as soon as I changed the SomeName property, the bounding vertices disappear and any change to transformation (translate, rotate, scale) generates the following error:

ReregisterComponent: <path to object> Not currently registered. Aborting.

After that I simply get out of the editor, load the game again and my blocking volumes look OK and act well.

Can anyone reproduce this and/or is there any reason why an error of the sort is generated ?

Regards.

Hey -

The BlockingVolume class is marked with the MinimalAPI specifier (https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/Specifiers/MinimalAPI/) which limits the ability to be overridden. If you are using an engine built from source, you can remove the MinimalAPI specifier to expose the full class for use.

Cheers

Thanks . I’m a “engine source” fan myself and I’ll definitely take a look at that possibility. :wink: