Continuing the discussion from OneWire Library + ESP32:
Some version of this problem seems to have returned. There is no problem compiling, but I can't detect sensors with OneWire 2.3.8 and the 2.0.17 board core.
I have been using the 2.3.8 version from the library manager for some time and the OneWire part of my code (to use up to 8 temperature sensors) has always been reliable. Today I upgraded to Arduino ESP32 Board 2.0.17 and everything broke. I switched to the DS18x20_Temperature example and it found no addresses. I tested with Boards 2.0.10, 20.0.12, 2.0.13, and all were good. I went back to 2.0.17 and the problems returned.
I also tried the latest OneWire from GitHub in case there was another change, but it still failed.
I don't know whether to call this a OneWire bug or a board core bug, but I'll have to stay at 2.0.13 unless there is a fix.