Description

If you make a Blueprint Macro Library that derives from UObject you are then unable to use any functions that require a WorldContext, like Delay. This is because the WorldContext cannot be assumed like it would if the MacroLibrary derived from Actor. 

This was requested specifically to allow for UObject MacroLibraries that can be used for both Components and Actors, both of which have a valid WorldContext but UObject is their common ancestor. 

Steps to Reproduce
  1. Open the Editor
  2. Create a Blueprint Macro Library that derives from Object
  3. Right click and type "Delay"

Actual Result: The delay function is not shown, like it would if this were a Macro Library deriving from Actor
Expected Result: The delay function should be shown as an available function to use

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-203743 in the post.

2
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint Editor
Affects Versions5.15.25.3
Target Fix5.4
Fix Commit30642969
Main Commit30643242
CreatedJan 11, 2024
ResolvedJan 16, 2024
UpdatedJan 30, 2024