Closed BryanHaley closed 3 years ago
It took me a while to see why this was happening, but "ParallelWriter" should be "ParallelWriterExt" after the else Thanks!
Ha, that thought crossed my mind but I guess I forgot to try it. Fixing that error revealed a couple more build errors, though. They all seem to be caused by forgotten if UNITY_EDITOR directives around code that references things that only exist in the editor. I managed to fix them all and get it building, so I've created a pull request for the fixes here.
With the ParallelWriterExt struct added in commit 38d7ff71173fba82ed126d3078fb8b0950b27503, this build error was introduced:![Build error](https://u.cubeupload.com/BryBread/ScreenShot20201116at.png)
Relevant code:
This isn't triggered when doing play mode within the editor; only when trying to create a standalone build. I've tried building for both macOS (both Intel 64 and Intel 64 + ARM) and WebGL and got the same result both times.
System info: macOS Mojave, Unity 2020.2.0b11.3484, Mono with .NET Standard 2.0.