Upgraded 5.3.6 standalone crashes when building in 5.4.1
We have a huge standalone project that runs perfectly fine in 5.3.6 and 5.4.1. It builds fine in 5.3.6. When we upgrade to 5.4.1, unity automatically upgrades the shaders (amongst other things). When building in 5.4.1, we believe there is a leak and unity keeps consuming more memory (until it uses our 16gb up). After about 35 minutes (when the build is finishing and the .exe is being created), unity crashes.
We filed a bug report on version 5.4.0 and haven't heard back. We tried in 5.4.1 and 5.4.2 beta with no success (same memory leak and crash at the same time).
The error is something along the lines of "cannot access memory at 000000 000000." for every build. 5.3.6 still works perfectly fine (our backup) and 5.4.1 runs very smoothly in the editor.