Problem: You're reading NaN instead of sensor data.
Cause: The host device does not communicate with the sensor over the I2C protocol. There is a software bug on the ESP32 Arduino hardware library which prevents I2C communication.
Solution: Please update the ESP32 hardware library.