godotengine / godotengine/godot

Linux build error "retrieve: program binary cache file is corrupted. Ignoring and removing."

Open
#92,140 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs testing topic:shaders
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

Tested versions

3.5.3.stable

System information

Linux Mint Cinnamon

Issue description

I'm getting an error retrieve: program vinary cache file is corrupted. Ignoring and removing. when I test my level in Linux, this error does not occur at all in Windows, and I can't actually find any information about this error message outside of it appearing in the debug window. It happens several times so I assume it's occurring for each and every shader I'm using in my scene. Here's the full error:

E 0:00:15.373   retrieve: Program binary cache file is corrupted. Ignoring and removing.
  <C++ Source>  drivers/gles3/shader_cache_gles3.cpp:74 @ retrieve()
Steps to reproduce

Run game in Linux.

Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with drivers/gles3/shader_cache_gles3.cpp at retrieve(), then reproduce the issue on Linux Mint with Godot 3.5.3 while running the level. Compare the behavior with Windows and inspect why the program binary cache is treated as corrupted. Done means identifying the Linux-specific cause and verifying that valid shader caches no longer produce repeated corruption messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.