Operation does not throw error

A student came up with this. The operation does not throw an error when cache region is created in a if region.

Good student! :)

Indeed this should be marked as an error.

We’ve addressed this issue in 2021.4.3, from the changelog

A process placed inside of a stateless patch will now produce a warning instead of an error. The warning will tell the user about the short life time of the process.

So for example your patch will now look like this: