Collision not showing during simulation for a projectile

Hello everyone,

I am trying to see my collisions during runtime with console command"show collisions".Unfortunately everything that has a projectileMovement component does not show its collisions .Everything else does.

Thank you.

Hi ,

Thanks for reporting this issue. I have entered a bug report for collision not being shown on actors spawned during runtime after Show Collision console command is entered (UE-4795). I will let you know when I see an update on this.

For others also experiencing this issue: console command will work on already-spawned actors (including projectiles). It is possible to pause Simulation or Play and enter console command to see collision on actors after they have been spawned. Please note that entering “show collision” either enables and disables collision display, so if you enter it once and then enter it again, it will turn display off and you will need to enter it a third time.

Hey ,

This has been fixed for 4.6, and newly spawned actors’ collision should appear in 4.6 Preview when Show Collision is enabled. Thanks again!

Just to let you know this works only for first projectile that is spawned and not for all instances all time so it is partially fixed.(4.8 master branch).
If you want to test it yourself just create something that spawns a projectile every couple of seconds.first (or sometimes first few) will show collisions but not rest.

Thanks.

I just tested this in our latest internal build and each spawned projectile consistently shows collision while Show Collision is enabled. My projectile is a simple Actor Blueprint with a Projectile Movement component, a Capsule Component as root, and a Sprite component.

Is your projectile set up differently? I can’t remember. When is last time you updated Master?

Two weeks ago.Tomorrow i will update to latest promoted and i will let you know if i still see it.My setup involves at least 3 more collision boxes inside bp for various collision checks.
Could you please duplicate that projectile spawner a few dozen of times(with added boxes and maybe add a random delay so not all of them spawn a projectile at same time) just in case it only happens with more than one instances?

Thanks!

Ah, nevermind, I see what’s happening now. Show Collision console command has indeed stopped showing collision on newly spawned actors, so I have reopened bug report (UE-4795). Additionally, I noticed that Show Collision option in Viewport’s Show menu wasn’t showing all collision during Simulate (which is why I didn’t see this at first), so I entered another bug for that (UE-8781). I’ll let you know when these are updated. Thanks!