Solution: I tried IComponentData off the codemonkey tutorial, but it was throwing errors.
Revisiting it, Yeah, that fixed it! The problem I had was my .foreach had 9 elements and I needed more… But you are limited to 9 which isn’t fun. I ditched one I didn’t use anymore, and put it in. My last attempt, I was trying to nest a buffer inside an icomponentdata which is a nono.
Glad that you’ve managed to figure it out. For future reference, note that you can declare a custom Entities.ForEach delegate and extension method if you ever need more arguments: