Calling a child's child in a child blueprint from a spawn actor from class node that is being called back to the child causes an error. Basically, when using the spawn actor node referencing the child blueprint, setting the return value as the child's child causes an error and warning.
Very similar to: [Link Removed]
1. Create a new blueprint Actor "Parent"
2. Create a new blueprint Actor "Child" which is a child of "Parent"
3. Create a new blueprint Actor "Child_Child" which is a child of "Child"
4. Create a new function "MyFunction" in "Child"
5. Add a "Spawn Actor from Class" node in the function, select "Child_Child" as the class and set the transform to all 0
6. Create a local variable "NewChild" of the type "Child"
7 .Connect the Actor output pin and execution pin from the "Spawn Actor" node to a "Set NewChild" variable setter node
8. Hit Compile
Result: A warning and error are populated on the spawn actor and set nodes.
Expected: Compilation without any trouble referencing the child's child.
Why does the REMOVE method of map container remove elements have memory leaks?
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
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?
UMG RichText not appear image when packaged
How does TArray loop correctly remove elements in blueprints?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.8.1 |
Created | Jun 29, 2015 |
---|---|
Resolved | Jan 31, 2017 |
Updated | Jul 14, 2021 |