#WebWorkers
1 messages · Page 1 of 1 (latest)
Lol, so the reason it wasn't working in my project was that I was debugging and had Exceptions set to "full with call stack", which dies in the string handling as soon as you call a job. That's fine though, because we don't need that in release builds...
So I can repro your results with my own test job - yeah, looks like you can run C# code across 5 worker threads (and the main thread), at least in Chrome desktop.
This is potentially super-cool because if my guess is right, you can run code that doesn't interact with the GC on threads in Web today (otherwise it seems like a bug for the job system to think worker threads exist.)
I'd love to know if this is true, but don't think anyone from Unity reads this discord, and daren't post in the forums because you'll just get one of the forum greeters saying "that's not officially supported."