Cannot connect these two connectors (when generate code)

Hi everyone,

I have been playing with frame graphs. Please see here:

Playground: Babylon.js Playground
Graph: Babylon.js Node Render Graph Editor

In the top section of the playground, I copy&pasted what I got from the editor after hitting “Generate code”. I only added the required params camera, worldMeshes and hudMeshes, as well as some comment markers.

Error: “Cannot connect these two connectors” Does not say which ones :frowning:

If I paste from url, the graph works.

Best wishes
Joe

**N.B. Nevermind that the rendering is wrong.

Pinging the almighty @Evgeni_Popov

1 Like

This PR will fix the problem:

Fixed PG:

The problem was that the right type was not passed to the NodeRenderGraphInputBlock constructor.

2 Likes