In 2D the particle uniform set isn't obtained until the render pass. So in 2D just avoid rendering if not updated yet.
ShaderData