Error : RayTracingDevice->CreateStateObject()

It worked, thank you for providing the method.