When building a world using Multi-platform build and publish with the user editor preference of Auto Refresh disabled the next platform will fail to build because UdonSharp cannot compile scripts that have not been compiled by Unity yet.
Reproduction Steps
  1. Disable Auto Refresh in Unity Editor Preferences > Asset Pipeline.
  2. Attempt to multi-platform build and publish with at least 2 platforms.
  3. Notice the current platform will successfully build and upload.
  4. Wait for the SDK to automatically switch to the next platform.
  5. Notice UdonSharp fails the build and Unity starts compiling scripts after the fail.
This was tested with SDK 3.10.1.