Blueprint subclass of custom Volume actor crashes

VSZ
Fri, 14 Nov 2014 17:18:15 +0000
Blueprint

1. Create a subclass of ‘AVolume’ actor in C++ and mark the class as ‘Blueprintable’

2. Create a blueprint with its parent set to this custom volume.

3. From the components screen set the brush shape of the volume’s brush component to any value (eg: BoxBuilder)

4. The editor crashes.

I can workaround this by avoiding volumes altogether and instead using Shape components to serve as trigger volumes. However I really like using actual trigger volumes because their brush based setup allows for highly intuitive volume creation, eg: by allowing vertex level manipulation just like one is editing a BSP brush.

I realize this is a bit of a gray area as far as classifying the issue as a ‘bug report’ is concerned but any hints to help me fix the issue would be much appreciated. My guess is that because the parent class ABrush explicitly prevents the class from being blueprintable, in addition to overriding that flag in my subclass maybe there’s some other property that I need to be setting as well. Appreciate your insight.

12 posts - 8 participants