Skip to content

PNG format error: DownwardDoubleChevron.png transparency chunk in RGBA image #185

Description

@WhiteGiverMa

Bug Report

Environment

  • Game: RimWorld 1.6.4871 rev591
  • Mod: Level Up! v5.3.2 (Krafs.LevelUp)
  • OS: Windows 11

Error

On game startup, the following error appears in the Player.log:

[ImageOpt] load image "Textures\LevelUp\DownwardDoubleChevron.png": Format error decoding Png: Transparency chunk found for color type Rgba.
[ImageOpt] failed to load image LevelUp/DownwardDoubleChevron. using vanilla texture load

Root Cause

The file Textures/LevelUp/DownwardDoubleChevron.png is an RGBA PNG that contains a separate transparency (tRNS) chunk, which is invalid for color type RGBA. The tRNS chunk is only valid for color types Grayscale, RGB, and Indexed.

Unity's PNG decoder rejects the file, causing RimWorld to fall back to vanilla texture loading. The icon works but at degraded visual quality.

Fix

Re-encode the PNG without the tRNS chunk (RGBA images already have transparency in their alpha channel). Any image editor that exports clean RGBA PNGs should resolve this.

Notes

This is a soft error — the game does not crash, but the icon uses the fallback texture loader which may result in lower quality rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions