Error in Computer Shader "Accessing the RHI resource at this time is not allowed" (5.4.2)

As it turns out, the parameters are created on the heap and managed by the GraphBuilder.
So modifying the Params struct after it got sent to the Pass is a no-no. Scope has nothing to do with it.