P0-MS4: Part 262: 2017.2 Port
I believe I have finally solved the build issues with Unity 2017.2.
The crashes and memory issues went away when I switched to a 64-bit build (x86_64).
This actually makes sense, since the Unity Editor is now 64-bit only, so I was basically running a 64-bit editor but a 32-bit executable, that could explain why the editor had no issues but the build did.
There are still quite a few errors and bugs in the build that are not present in the editor, but these are not crashing the game, and they should be relatively easy to fix.

