Hi there,
Try removing the Arduino BLE from the IDE.
I know it’s crazy but just having it installed causes some weird issue with the ESP wifi & BLE stuff.
I beat my head against the wall for a 3-4 hours one night and I was trying different BSP’s and rolling things way back , Code that worked would’nt anymore. Turned out I unistalled everything but what I was using for the ESP32c6 or s3 but once I removed Arduino BLE everything worked again. Even though the code would compile , just made the thing Boot loop until in boot mode and a reload was done with out Arduino BLE installed at all.
YMMV.
HTH
GL PJ
I think it was a WIFI & BLE code compile, nothing fancy just scanners both Wifi and BLE and print Availables in both Networks.