Foreach Loop not supported by burst?

I’m having this problem when adding [BurstCompile] to a IJobForEachWithEntity
getting this errors:

  • The try construction is not supported by burst
  • The catch construction is not supported by burst
  • The finally construction (e.g foreach/using) is not supported by burst

the Error lead to a ForEach Loop

Is there a workaround for this?
is it planned to be supported by burst?

Foreach is not supported by Burst cause this one is making use of the try catch.

This is on our roadmap to support. I don’t have a firm ETA yet though, hopefully by the end of 2019 we’ll have a better picture :slight_smile:

2 Likes