Esp32 cam with ultrasonic sensor and Oled

...and this

Which would seem to indicate the GPIO12 is used for the SD card, and GPIO16 is used as the chip select for the PSRAM.

So... yes, you will likely have issues if you use these pins.