With the Marshmallow update, the default USB mode is charge only. Pull down the notification shade, tap where it says USB Charging, and change it to transfer files.
You have just made my day! I was on vacation and had tried to transfer 1,000 photos onto a computer to put on a thumb drive. Thank you!