Description

Performing a Hot Recompile in the Editor after adding a BlueprintImplementableEvent to code class does not have the new event added to the right-click context search window in the Event Graph of a Blueprint derived from that class. In addition, any previously available events appear to have been removed from the context search window as well.

Last verified to have worked in CL 2336109.

Found broken in CL 2374938.

Update:
This appears to only happen after a hot reload involving a UFUNCTION has already been performed on a project. The first such hot reload that is performed appears to work fine, but any subsequent hot reloads involving a UFUNCTION will see these results, including removing and re-adding the original UFUNCTION.

In addition, subsequent hot reloads involving a UPROPERTY appear to also cause these results.

https://answers.unrealengine.com/questions/148775/46-hot-reload-upropertyufunctionbp-impl-events-do.html

Steps to Reproduce
  1. Create a new code First Person project with no starter content.
  2. Build the project in Visual Studio.
  3. Open the project in the Editor.
  4. Add a new Actor code class to the project.
  5. Close the Editor.
  6. In the header file for the new class, add the following code:
    public:
    UFUNCTION(BlueprintImplementableEvent)
    virtual void MyEvent();
    
  7. Build the project in Visual Studio.
  8. Open the project in the Editor.
  9. Make a Blueprint derived from the new Actor class.
  10. Open the Blueprint.
  11. In the Graph tab, right-click on the graph and search for the new event.
  12. Verify the event is available, but do not add it to the graph.
  13. With the Editor still open, add the following code to the header file for the new class:
    UFUNCTION(BlueprintImplementableEvent)
    virtual void MyOtherEvent();
    
  14. In the Editor, Recompile Game Code.
  15. In the Event Graph for the new Blueprint, search for either of the new events.

RESULTS:
Both events no longer appear in the right-click search results in the event graph.

EXPECTED:
Both events appear in the right-click search results in the event graph.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.64.6.14.8
Target Fix4.8
Fix Commit2477815
CreatedDec 19, 2014
ResolvedMar 24, 2015
UpdatedApr 27, 2018
View Jira Issue