Search Issue Tracker

Fixed in 2021.2.X



Found in


Issue ID




[macOS][IL2CPP] Build fails when there are spaces in the project path



How to reproduce:
1. Create a new project with the default 3D template (make sure to include spaces in the project name)
2. In the Project Settings, switch to the IL2CPP Scripting Backend (Edit->Project Settings->Player->Other Settings)
3. Make a build
4. Inspect the Console Window

Expected result: The build is successful
Actual result: The build fails and "No such file or directory" is logged

Reproducible with: 2021.2.0a9
Not reproducible with: 2018.4.33f1, 2019.4.22f1, 2020.3.1f1, 2021.2.0a8

Note: Only reproducible when Build Architecture is set to "Intel 64-bit + Apple Silicon" on macOS

  1. Resolution Note (fix version 2021.2):

    Fixed in Unity 2021.2.0a13 and above

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.