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

perhaps you need to make it sharable for it to not become invalidated?

TSharedPtr<FRDGTextureRef> SharedPressure = MakeShareable(Pressure);