Condition "g->nodes.has(p_id)" is true

Godot Version

4.3

Question

I have no idea what I am doing, and this shader is causing major lag on older systems. Could a wizard please assist me and explain this error?

image


Shader

bump

Have you figured out the problem? I didn’t notice any lag, but I get the exact same error even though everything seems to work fine…


image

Unfortunately never found a solution.

This issue usually points to one of a few potential problems:

There might be duplicate node IDs in your visual shader graph.
You could be trying to add a node with an ID that’s already in use.
Alternatively, there might be a corrupted connection between nodes.
I’d recommend checking your shader graph for any duplicate IDs or invalid connections. If that doesn’t resolve it, you might need to rebuild the problematic part of the graph.

1 Like

This look like a bug, i recommend report on Godot github

2 Likes

I was getting the same error on a built-in visual shader. Saving it as an external visual shader to the FileSystem then dragging it back into the Shader property resolved the issue.