godotengine / godotengine/godot

Disable Proximity Fade in Compatibility will trigger "Condition "!texture_allocs_cache.has(p_id)" is true"

Open
#89,967 0 comments 1 reaction 0 assignees View on GitHub
bug topic:3d topic:rendering
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Godot v4.3.dev (5d08c2631)

### System information

Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3619) - 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 Threads)

### Issue description

When enable Proximity Fade in Compatibility nothing will happen due to https://github.com/godotengine/godot/issues/89942, but disable it will trigger a error says "godot\drivers\gles3\storage/utilities.h:144 - Condition "!texture_allocs_cache.has(p_id)" is true."

![image](https://github.com/godotengine/godot/assets/8315986/6935953a-274a-4c68-81d1-00e22786aee2)

It doesn't happen in vulkan.

### Steps to reproduce

* Use Compatibility renderer.
* Add a cube on a plane.
* Apply a new standardMaterial3D to cube and enable Proximity Fade
* Disable it and observe

### Minimal reproduction project (MRP)

Open the DistanceFade.tscn and see the steps above.

[ProximityFade.zip](https://github.com/godotengine/godot/files/14784093/ProximityFade.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.