Description

This is related to the previous issue where if you deleted a component than there would be no errors (UE-88257), but instead of the component itself being deleted, the delegate has. 

 

The error shows up properly if you use the "Bind Event to..." node from the context menu, so that is the error we should expect

 

Steps to Reproduce
  1. Create a new native actor component class
  2. Add the following dynamic delegate to it:
    1. DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOriginalDelegate);
      UPROPERTY(BlueprintAssignable)
      FOriginalDelegate OnOriginalDelegate;
  1. Create a new Actor BP, and add your component to it.
  2. Select the Component, and using the green "Plus" button in the details panel, add the "On Original Delegate" to the graph
  3. Compile and save
  4. Remove the dynamic delegate from the class, and recompile\

Result: Open up the BP again, and notice there are no compile errors on the graph 
Expected: There would be a warning saying that the delegate no longer exists

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentGameplay - Blueprint Compiler
Affects Versions4.25.2
Target Fix4.26
Fix Commit13897821
CreatedJun 25, 2020
ResolvedJul 20, 2020
UpdatedJul 21, 2020