A nativized Blueprint cannot currently invoke a non-public BlueprintCallable function that's defined in native C++ code without resulting in a C++ compile error.
Example: APlayerController::PlayDynamicForceFeedback()
Current workaround: Locally modify the native class declaration to move the BlueprintCallable function into a "public" section.
UATHelper: Packaging (Windows (64-bit)): D:/dev/local/Projects/NatPrivateTest/Intermediate/Plugins/NativizedAssets/Windows/Game/Source/NativizedAssets/Private/NewBlueprint__pf1010915279.cpp(477): error C2248: 'APlayerController::PlayDynamicForceFeedback': cannot access private member declared in class 'APlayerController' UATHelper: Packaging (Windows (64-bit)): D:\dev\UE4\Dev-Framework\Engine\Source\Runtime\Engine\Classes\GameFramework/PlayerController.h(1088): note: see declaration of 'APlayerController::PlayDynamicForceFeedback' UATHelper: Packaging (Windows (64-bit)): D:\dev\UE4\Dev-Framework\Engine\Source\Runtime/Engine/Classes/Matinee/MatineeActor.h(13): note: see declaration of 'APlayerController'
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How to delete some elements correctly when deleting an array loop?
How do I set a material as a post-processing material?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-76369 in the post.
8 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.21, 4.22, 4.23 |
Created | Jun 17, 2019 |
---|---|
Resolved | Jul 15, 2021 |
Updated | Jul 19, 2021 |