OVRVERSION returns nothing

I’ve been having problems with my app working in a standalone or packaged game, or when running a dedicated server.

I have the oculus plugin enabled, the app works fine in the vr preview.

One weird thing is that ovrversion returns ‘Command not recognized: ovrversion’

Anybody else had this problem in 4.20?