I could've sworn there was a thought experiment for an omnipotent being modifying the universe but only when we are intentionally trying to study it, but this is all I could find. https://en.wikipedia.org/wiki/Evil_demon
This concept is stuck in my mind as "Cartesian demon" but that only leads to the above which is more about the idea that we could be in a simulated reality. It's possible I'm getting an xkcd comic mixed in but I couldn't find it either based on a quick search.
Edit: The comic was something like a sliding scale (or maybe a flow chart) of different views of reality. On one end was everything is fake, even self, and the other end was that everything is real and measureable. Somewhere in the middle was the idea that reality exists but we can't measure it properly or objectively. Something like that. But it's also possible this comic was unrelated to whatever I'm remembering as "Cartesian demon" and I'm getting mixed up.