Added detection for failed asset generation