When a class contains an instanced pointer to an object class, nativizing a blueprint with the object property set causes a packaged version of the project to fail to open.
DefaultToInstanced, EditInlineNew, BlueprintType
UPROPERTY(EditAnywhere, Instanced, Category=Prompt, BlueprintReadOnly, meta = (AllowPrivateAccess = "true") ) class UMyObject* PromptMyObject;
Result:
Package will fail to run due to failed cast to MyObj
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-52326 in the post.
8 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.16.3, 4.17.2, 4.18 |
Created | Nov 13, 2017 |
---|---|
Resolved | Jul 15, 2021 |
Updated | Jul 19, 2021 |