Vision Sensor only works when connected to computer

My vision sensor works fine when connected to the computer via USB, but when only connected to the cortex with a cable it isn’t recognized. What could the issue be?

Did you try a different cable? What does the devices menu on the brain show?

I did try a different cable, different port, and even a new sensor. The devices menu recognizes the sensor only when it is also plugged into VEXcode with a usb cable.