'Can't connect pins Return Value and New Item : Pawn Object Reference is not compatible with Base Zombie Object Reference (by ref).'

Hi Folks,
I’m trying to create a VR zombie game following this tutorial:

The linked image shows the Blueprint setup for how the zombies spawn in each wave. The problem I have is that while I’m running the project I can play it in the editor and it works fine, but then if I close the project, when I reopen it I get the following compiler error:

‘Can’t connect pins Return Value and New Item : Pawn Object Reference is not compatible with Base Zombie Object Reference (by ref).’

The thing is, if I break the ‘return value’ and the ‘active zombie’ links, and then reattach them, starting with the ‘return value’, then everything compiles smoothly and I can run the game again. What’s going on here, and how can I fix this?

I think, you cannot set timer for SpawnZombie event if timer it self is activated by SpawnZombie event. Maybe unreal detecting it as infinite loop. So it is giving error.

You need other event to activate time for SpawnZombie and check looping if spawnzombie time is constant, if not than use delay node and call again SpawnZombie.