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

They are assigned on a per loop basis and automatically dispatched in the next line, so I don’t think so. If they were in the loop they would be destroyed anyway because of how scopes work.