I was trying to create some random spawning. But I was getting an error with “null name”.
So I tried another object and this time it worked. So I pressed button that I assigned to spawn this Cube and it spawned. Then my attention went to “enemy object” that was attacking my character and it didn’t took any damage.
So I restared it and collision worked again, then I spawned Cube and collision disappeared again. Why is that?
Edit: I create a copy of enemy will it be able to deal damage. And I saw an error with my “Get children” node insted of find by name now It’s “Starts with”.
But now I still have no idea why when I try to create a copy of enemy with spawn node program crashes