The Spawn Actor from Class node outputs an Actor reference when a Select node is attached to the Class input, even if both options are of the same child type. For example, if two Characters are the options in a Select node, the Spawn Actor node will output Actor instead of Pawn, which is the way it worked in 4.7.6.
Reproduced in 4.8.0 and Main (//depot/UE4/Promotable-CL-2591224). This is a regression: this worked as expected in 4.7.6.
1. Open a new Third Person template project
2. Duplicate the ThirdPersonCharacter Blueprint
3. Open the Level Blueprint
4. Add a Spawn Actor from Class node
5. Drag off the Class input and create a Select node
6. Choose ThirdPersonCharacter for Option 0
7. Choose ThirdPersonCharacter2 for Option 1
8. Set Index to Integer (0)
9. Drag off the Return Value of the Spawn Actor node
10. Add a Possess node
Result:
The Spawn Actor node outputs Actor instead of Pawn, and the Possess node cannot be used.
Expected:
The Spawn Actor node recognizes that both Select options are Pawns and outputs a Pawn. This was how it worked in 4.7.6.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.8, 4.9, 4.14, 4.19 |
Created | Jun 18, 2015 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |