Hi, I have recently been following along with the Twin Stick Shooter Tutorial and have run into some problems. By step 15, everything is working well the enemies are spawning and dying, as well as the player character. However every time the player character dies and respawns a duplicate of the character is made at the spawn area. I followed the blueprints step-by-step and cant seem to be able to find the solution.
This is an example of the problem I am experiencing:
And an exaggerated example:
Upon closing the play window the following errors are reported:
“Cannot access ‘Weapon_C_81’. It is pending kill. Property: ‘Weapon’ from node DestroyActor in graph ‘EventGraph’ in blueprint HeroCharacter”
and “Cannot access ‘HeroCharacter_C_42’. It is pending kill. Property: ‘None’ from node DestroyActor in graph ‘EventGraph’ in blueprint HeroCharacter”
Below are the blueprints I am using:
TwinStickGameMode Blueprint
HeroCharacter Blueprint
EnemyCharacter Blueprint
Any help would be much appreciated,
Thanks, Sam