[4.4 Crash & Suggestion] Cannot make a UPROPERTY Dynamic Array of TSubobjectPtr
I wanted to make a dynamic array of TSubobjectPtr for my actor, to store a variety of different collision shapes, only one of which would be active at a time.
So I wrote this:
This compiles perfectly!
Crash On Editor Load
After compiling, when I load editor, I get this crash:
The Work Around
The work around I developed was to use a static array instead
Editor Drag-Duplicate Bug
But when I try to drag - duplicate this actor with static component array in the level,
It can't duplicate the static array components and then they are invalid on the partially created drag-created actors.
I dont know if it is even possible for the current drag-duplicate implementation to handle my static array of TSubobjectPtr
and I have had problems with custom C++ actor components and the drag duplicate current implementation
Why dont you fix the drag-duplicate (using translate widget) to use the same method as when you drag from content browser?
When I drag from the content browser, the actor with static array of TSubobjectPtr works perfectly!
Thank you for bringing this to our attention. I have submitted a report about this issue for further investigation (TTP# 349346).
answered Oct 10 '14 at 10:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here