It's a trap! Uncovering defects in next-generation solar panel materials