Description

REGRESSION: No, this occurs as far back as 4.16.

Crash occurs when the user changes a variable type from Object Reference to Actor Soft Object Reference.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Open the level blueprint.
  3. Add a variable, and set its type to Object > Object Reference.
  4. Compile.
  5. Set the variable's Default Value to anything.
  6. Compile again.
  7. Change the variable type to Actor > Soft Object Reference.
  8. Compile a third time,

RESULT

Crash.

Callstack
Fatal error: [File:D:\Framework\Engine\Source\Runtime\CoreUObject\Private\Templates\Casts.cpp] [Line: 10] Cast of StaticMesh /Game/Environments/Props/Boxes/Meshes/AmmoCrate_Closed.AmmoCrate_Closed to Actor failed

UE4Editor_CoreUObject!CastLogError() casts.cpp:11 
UE4Editor_PropertyEditor!CastChecked<AActor,UObject>() casts.h:217 
UE4Editor_PropertyEditor!SPropertyEditorAsset::OnGetAssetName() spropertyeditorasset.cpp:631 
UE4Editor_PropertyEditor!TMemberFunctionCaller<SPropertyEditorAsset,FText() delegateinstanceinterface.h:165 
UE4Editor_PropertyEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SPropertyEditorAsset,FText() tuple.h:497 
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<1,SPropertyEditorAsset,0,FText __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Slate!TBaseDelegate<FText>::Execute() delegatesignatureimpl.inl:537 
UE4Editor_Slate!TAttribute<FText>::Get() attribute.h:137 
UE4Editor_Slate!FTextBlockLayout::ComputeDesiredSize() textblocklayout.cpp:48 
UE4Editor_Slate!STextBlock::ComputeDesiredSize() stextblock.cpp:186 
UE4Editor_SlateCore!SWidget::CacheDesiredSize() swidget.cpp:519 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_SlateCore!SWidget::SlatePrepass() swidget.cpp:502 
UE4Editor_PropertyEditor!SListView<TSharedRef<FDetailTreeNode,0> >::GenerateWidgetForItem() slistview.h:1016 
UE4Editor_PropertyEditor!SListView<TSharedRef<FDetailTreeNode,0> >::ReGenerateItems() slistview.h:911 
UE4Editor_Slate!STableViewBase::Tick() stableviewbase.cpp:249 
UE4Editor_PropertyEditor!STreeView<TSharedRef<FDetailTreeNode,0> >::Tick() streeview.h:466 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:873 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:97 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:31 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:12 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:35 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:31 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:12 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_Slate!SBox::OnPaint() sbox.cpp:245 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:31 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:12 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:35 
UE4Editor_Slate!SBorder::OnPaint() sborder.cpp:85 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:31 
UE4Editor_SlateCore!SPanel::OnPaint() spanel.cpp:12 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:35 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SCompoundWidget::OnPaint() scompoundwidget.cpp:35 
UE4Editor_Slate!SBorder::OnPaint() sborder.cpp:85 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SOverlay::OnPaint() soverlay.cpp:97 
UE4Editor_SlateCore!SWidget::Paint() swidget.cpp:899 
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() spanel.cpp:31 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-50703 in the post.

0
Login to Vote

Fixed
ComponentGameplay - Blueprint
Affects Versions4.164.17.24.184.19
Target Fix4.18
Fix Commit3678602
Release Commit3678602
CreatedOct 3, 2017
ResolvedOct 3, 2017
UpdatedApr 27, 2018