If a function in a custom code Blueprint Function Library class contains meta = (WorldContext = "WorldContextObject") as a specifier, that function does not appear in context searches in a UObject Blueprint event graph.
Update - TimL
------------------
Another user mentioned that they are seeing very similar results after creating a BlueprintFunctionLibrary in a Blueprint, then try to access those functions from another UObject-derived Blueprint.
Update - TimL
------------------
This has been further narrowed down to only happen in instances where the UFUNCTION takes in a UObject parameter named "WorldContextObject"
UFUNCTION(BlueprintCallable, Category = Game, meta = (WorldContext = "WorldContextObject")) static void SpawnUnit(class UObject* WorldContextObject);
void UMyBlueprintFunctionLibrary::SpawnUnit(class UObject* WorldContextObject)
{
}
RESULT:
The function does not appear in the context menu.
EXPECTED:
The function appears in the context menu.
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Installer 4.10 failed with error code R-1603
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How to achieve HLSL Multiple Render Target in Material blueprints?
How can i modify the param name in EQS node
Head over to the existing Questions & Answers thread and let us know what's up.
8 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.7.6, 4.9, 4.11.2, 4.13 |
Created | May 15, 2015 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |