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

you can just switch to ERDGPassFlags::Compute not that fixes the situation.