Crash when switching from Lumen visualization to raytracing visualization

Editor crashes. I have repro’d this in a Windows client build as well.

As a graphics engineer I’m often looking at these two visualization modes, switching back and forth between them. I can work around the crash if I remember to turn off the active visualization before moving to the next.

This repro’s in 5.6 as well.

I have attached a repro project but there is nothing special to it. I just created a default template desktop project via the project launcher.

[Attachment Removed]

Steps to Reproduce
Run these commands in order

r.lumen.visualize 3

r.raytracing.visualize triangles

[Attachment Removed]

Hello,

Thank you for reaching out.

I’ve been assigned this issue, and we will be looking into this crash for you.

[Attachment Removed]

Hello,

Thank you for reporting this. I can confirm this issue can be reproduced as described in the latest CL, and have opened a bug report:

https://issues.unrealengine.com/issue/UE\-371876

The tracker will be visible after it is approved internally at Epic Games and is publicly accessible.

If you have any further questions, please let us know.

[Attachment Removed]