What's wrong with BME280

Show us your sketch and give a link the the library that you use.
Give a link to the module that you have. Tell us how everything is powered.

There should be some 'law' for this.
Let's make one up. Koepel's law: Fifty percent chance that the problem is in the section that was ignored from the beginning, because you thought that the problem could not be caused by that section.