I'm using BME680 and integrated selftest procedure from GitHub.
It seems initialization and data exchange with sensor going well, but in the end test failed with code 3.
Meaning sensor readings are out of range. Seems Temperature is always 0 and Pressure is below normal range.
We have successfully used BME680 in past on different MCU, and checked that sensor integrated correctly and also eliminate possibility of faulty sensor by checking same procedure on another board. Results are consistent - sensor responding but readings are out of range.