On at least two occassions now, I’ve repeated this crash. It happens when I am stretching the drawing size of a text label within the user interface designer.
File causing the crash: CanvasSlotCustomization.cpp
Method: GetOffsetLabel(TSharedPtr PropertyHandle, EOrientation Orientation, FText NonStretchingLabel, FText StretchingLabel)
Line #: 282
Cause: Trying to dereference a NULL Pointer
TArray<void*> RawData;
PropertyHandle->AccessRawData(RawData); //<--- RawData contains 0x00000000
FAnchorData* AnchorData = reinterpret_cast<FAnchorData*>( RawData[0] );
const bool bStretching =
( Orientation == Orient_Horizontal && AnchorData->Anchors.IsStretchedHorizontal() ) ||
( Orientation == Orient_Vertical && AnchorData->Anchors.IsStretchedVertical() ); //<--Dereference crash
return bStretching ? StretchingLabel : NonStretchingLabel;
The PropertyHandle has the following data passed in:
PropertyHandle Ptr=0x00000000524dc7d8, SharedRefs=5, WeakRefs=1, Object={Implementation=Ptr=0x000000005721b580, SharedRefs=1, WeakRefs=1, Object={PropertyNode=Ptr=0x0000000054197f00, SharedRefs=1, WeakRefs=6, Object={…} PropertyUtilities=Ptr=0x0000000031ec0e50, SharedRefs=80, WeakRefs=227, Object={…} …} } TSharedPtr<IPropertyHandle,0>
[SharedReferenceCount] 5 int
[WeakReferenceCount] 1 int
[Ptr] 0x00000000524dc7d8 void *
-
[FPropertyHandleBase] {Implementation=Ptr=0x000000005721b580, SharedRefs=1, WeakRefs=1, Object={PropertyNode=Ptr=0x0000000054197f00, SharedRefs=1, WeakRefs=6, Object={DisplayNameOverride=Empty ToolTipOverride=Empty } ...} } UE4Editor-PropertyEditor.dll!FPropertyHandleBase
-
__vfptr 0x000007fedbf1f6a8 {UE4Editor-PropertyEditor.dll!const FPropertyHandleBase::`vftable'} {0x000007fedbce7f00 {UE4Editor-PropertyEditor.dll!FPropertyHandleBase::`scalar deleting destructor'(unsigned int)}, ...} void * *
-
[Raw View] 0x00000000005ee0f8 {Object=0x00000000524dc7d8 {Implementation=Ptr=0x000000005721b580, SharedRefs=1, WeakRefs=1, Object={PropertyNode=Ptr=0x0000000054197f00, SharedRefs=1, WeakRefs=6, Object={...} PropertyUtilities=Ptr=0x0000000031ec0e50, SharedRefs=80, WeakRefs=227, Object={...} ...} } ...} TSharedPtr<IPropertyHandle,0> *