Description

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.

Steps to Reproduce

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.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.84.94.144.19
CreatedJun 18, 2015
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue