I was working on the OpenYR Skirmish preview loader when a map with invalid base64 in its optional PreviewPack dropped the setup screen into an error. The same terrain could render with the thumbnail section removed.
The loader had been returning the thumbnail decode error before it could try the terrain renderer. A valid authored thumbnail still gets first choice. An absent or damaged thumbnail now sends the loader to the same terrain renderer. If that render also fails, the preview reports the terrain failure first and includes the thumbnail error for diagnosis.1
Fallback compositor frame showing generated terrain for a synthetic map with a damaged thumbnail.
The regression exercised the setup and chooser workers. With the optional thumbnail missing or damaged, both paths produced the same generated pixels. It also checked the map's credit override, available start and protected save bytes while recovering from a separate terrain error.2