5V is above the absolute maximum ratings specified in BME280's datasheet, therefore you may be damaging the sensor and we cannot guarantee its behavior. To isolate hardware issues, we would recommend generating some simple test code (e.g. reading and validating the sensor's Chip ID) with a known working sensor/setup.
... View more