Closed MT-Dev closed 1 year ago
In BluePrintProvider::OpenBlueprint the following code is passing the wrong variable to BringKismetToFocusAttentionOnObject.
if(Object != nullptr) { FKismetEditorUtilities::BringKismetToFocusAttentionOnObject(Blueprint); }
It should instead be the following.
if(Object != nullptr) { FKismetEditorUtilities::BringKismetToFocusAttentionOnObject(Object); }
Without this change, the Unreal Editor will crash when passed a reference to a UDataAsset instead of a UBlueprint.
Whelp, I've fixed it and forgot to cherry pick the fix >< The next bugfix build of Rider (eg 2023.1.1) will have this fixed
In BluePrintProvider::OpenBlueprint the following code is passing the wrong variable to BringKismetToFocusAttentionOnObject.
if(Object != nullptr) { FKismetEditorUtilities::BringKismetToFocusAttentionOnObject(Blueprint); }
It should instead be the following.
if(Object != nullptr) { FKismetEditorUtilities::BringKismetToFocusAttentionOnObject(Object); }
Without this change, the Unreal Editor will crash when passed a reference to a UDataAsset instead of a UBlueprint.