Bug while destroying an Actor

So I’m spawning in some sprites and when I delete them (With “Destroy Actor” - node) whole screen turns black for a millisecond.
There is very little scripting going on in this actor BP, so I assume this is some kind of bug? (Not sure, but I just got a Timeline and some “set location” nodes in there, nothing world changing…)

** - Creey**

Hey Creey,

Could you provide some screenshots of your Actor blueprint so I can attempt to reproduce bug? If you’re using a Timeline, a screenshot of its settings would also be useful. Thanks!

http://puu.sh/cGIFh/26c4b98fa1.jpg

http://puu.sh/cGIH5/fcc8e3e5af.png

Is that enough?
Let me know if u need more screenshots

I wasn’t able to reproduce this behavior in 4.5.1. Which version of engine are you using? Are you able to reproduce this in a new project? If so, would you mind uploading a test project for me somewhere? Thanks!

link text

Just open and play, and then you should see it.

I opened up project and didn’t see screen flash black when GreenDot was destroyed. This is happening in MainMap, with GameModeTouchGame? Does it happen with GreenDot being spawned and destroyed above Background_Sprite, as it is currently set in this project?

Okay that’s really weird. When I simulate game(when i can fly around and so on) i didn’t see screen flashing, it only appears when I Play game from selected viewport(when I see virtual joysticks and so on)

I don’t see it happening with Play in Selected Viewport, either. That it’s only happening for you from that camera view makes me think it has something to do with placement of sprites in relation to background sprite, but being unable to reproduce it makes it impossible for me to know for certain. Are GreenDot sprites meant to be off screen during play?

So, I reproduced whole game, and now it’s working fine. I think there is something wrong with this File…but I have no idea what. But thank you very much for fast help =)

When I know more about bug, I let you know.

  • Creey

Glad to hear it! Please do let us know if you encounter issue again and we’ll take another look.

Okay now I know issue. Actor was moving into Camera Boom (spring arm) and everytime they touch my screen turns black for a millisecond or so.

That makes sense; camera is adjusting when Spring Arm collides with something. You can disable this by going to Spring Arm component and in Camera Collision section, uncheck Do Collision Test box.

Okay, finally we got this!^^ Nice work and thank you for your help! =)