Ian, which vGate did you purchase? I use the vGate vLinker BM+ (Amazon, $40 US) on my 2021 M40i with Bimmercode and it works perfectly. There is a cheaper vGate that does not work with G series BMWs, could that be what you purchased?
If interested, here are the changes I've made on my M40i with Bimmercode...
RAM Active sound design - not active
ECU Auto start stop function memory - active
Hu Warning at startup - not active
Hu Camera warning - not active
ACSM Initial seat belt reminder - not active
For my second attempt I used a TONWON vLinker BM WiFi OBD Scanner which cost me £45.99 from Amazon and it was easy to set up and worked perfectly and I now have a quiet car without that awful artificial exhaust sound