Cannot replace If region with Cache without re-creating it

Hey there, this is happening on 2022.5 preview 441.

When replacing an If region with a Cache, it still creates diamonds on the border and throws an error. See repro gif :

replace_if_with_cache

In that case it’s easy to take everything out of the region and move it in a newly created Cache, but for bigger setups it could be cool to have this feature :)

Gracias,

seb

2 Likes