# Sub-classing ABlockingVolume generates errors when editing properties

**URL:** <https://forums.unrealengine.com/t/sub-classing-ablockingvolume-generates-errors-when-editing-properties/393083>\
**Category:** Feedback & Requests\
**Tags:** blocking-volume, unreal-engine, bug-report, question\
**Created:** [May 9, 2017, 3:45am UTC](https://forums.unrealengine.com/t/sub-classing-ablockingvolume-generates-errors-when-editing-properties/393083 "2017-05-09T03:45:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrHobo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrHobo](https://forums.unrealengine.com/u/DrHobo)\
**Post date:** [May 9, 2017, 3:45am UTC](https://forums.unrealengine.com/t/sub-classing-ablockingvolume-generates-errors-when-editing-properties/393083/1 "2017-05-09T03:45:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [May 9, 2017, 2:23pm UTC](https://forums.unrealengine.com/t/sub-classing-ablockingvolume-generates-errors-when-editing-properties/393083/2 "2017-05-09T14:23:30Z")

</div>

Hey -

The BlockingVolume class is marked with the MinimalAPI specifier ([https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/Specifiers/MinimalAPI/](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

---

<div class="post-metadata">

**Author:** ![DrHobo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrHobo](https://forums.unrealengine.com/u/DrHobo)\
**Post date:** [May 9, 2017, 10:27pm UTC](https://forums.unrealengine.com/t/sub-classing-ablockingvolume-generates-errors-when-editing-properties/393083/3 "2017-05-09T22:27:55Z")

</div>

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