Cannot Debug Entities Baker Anymore?

My team and I have upgraded our project to Unity 6000.0.33f and Entities 1.3.5 and it seems we can no longer debug the baking process (e.g. with Visual Studio)? Is that a bug or is it intentional? The documentation around baker debugging is lacking so I’m unsure.

Before, we used to see another project instance we could attach to. Forcing a rebaking does not fix the issue.

image

I can still see the worker processes in rider (unity 6.2). Though note unity didn’t spin up the worker process until I forced a rebake so couldn’t attach in advanced, but it seems to have hung around once it was created.

Personally though I usually just debug baking process by opening subscenes which then bakes on main thread so I don’t have to worry about attaching separately.

That works! Thanks a lot, I had no idea this existed.

For others like me that didn’t know, here’s an imaged step by step on how you can debug the baking from Visual Studio:

  1. Attach to Unity

  2. Add your breakpoints in your Baker code
  3. In Unity, select the subscene you want to debug and click Open. Your breakpoint should hit