I’m hitting an intermittent picking bug in a scene with multiple geometry instances. In the enclosed screenshot, the Pick origin and Pick direction debug info come from inside the kernel and show that the same ray is being generated but occasionally a different object is reported from optixGetInstanceIndex() inside the closest hit program.
Any ideas what might cause this behavior?
Windows 10 Home
Visual Studio Community 2019 version 16.7.2
GeForce RTX 2070 SUPER
Driver version 452.06