Thanks for the fast reply
For testing Im powering the atmega with a lab bench power supply. Also I checked the voltage with a multimeter. Indeed the decoupling caps were not in place. I connected them but they had no effect. (Is the atmega completely off if the problem is caused by the missing caps?) Under 3.4v the atmega has no output voltage on any digital or analog pin.