Problems with ESP32 and DS18B20

Without seeing you sketch and your Settings.h file, or your serial output it’s difficult to give a definitive answer.
However, I’d guess that whatever board type you’ve un-commented, or the custom board type if you haven’t un-commented any, is causing a pin conflict in Settings.h.

Have a read of this for more info…

Pete.