GPU particle collision stops working when adding Scene capture component 2D

I noticed GPU particle collisions (on scene depth) weren’t working on my project. After investigating what the cause of this could be, I found out that the scene capture component 2D seems to take priority in the scene depth and causes GPU particle collisions to stop working.

I created a new project to test further

  1. Create a GPU particle system
  2. Create a Blueprint and add a Scene Capture Component 2D to it
  3. Create a Render Target Texture for the Scene Capture Component Blueprint.
  4. Add the Target Texture to the Scene Capture Component Blueprint.
  5. Add the Scene Capture Blueprint to level.

Collisions in GPU particles will stop working.

Looking further into the issue, I noticed that only when the Scene Capture Component 2D Blueprint is facing the particles they are being rendered.

So apparently the Scene Capture Component 2D is taking priority in the scene depth pass and causing only the particles that are facing the Scene Capture Component 2D to be rendered instead of the Player Camera’s view.
I tested this on older versions (4.9 for instance) and this doesn’t happen there.

Hey Shogo999,

Thank you for submitting this post. I have reproduced this issue and logged a report for it here: Unreal Engine Issues and Bug Tracker (UE-42443)

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers,

#Engine Code For Fix For This Issue

Daniel Wright has posted the engine code to fix this issue here:

#:heart:

Rama

PS: Thank you Shogo for reporting this matter!