Why changing example to port it to VR doesn't work?

No, it doesn’t work if I use a cone instead of volume rendering.