Search Issue Tracker
Fixed in 2021.2.X
Votes
2
Found in
2021.2.0a8
Issue ID
1319442
Regression
Yes
Building projects with IL2CPP scripting backend on Windows fail due to fatal error C1083
Steps to reproduce:
1. Create a new Unity project
2. Set scripting backend to IL2CPP in Player Settings
3. Attempt to build the project
Expected result: Build succeeds
Actual result: Build fails due to missing file errors:
c1: fatal error C1083: Cannot open source file: 'Files\Unity\Hub\Editor\2021.2.0a8\Editor\Data\il2cpp\libil2cpp\pch\pch-c.h': No such file or directory
pch-c-14212280230507549953.cpp
C:\Users\username\Downloads\il2cpp\Library\il2cpp_cache\buildstate\y2vq\pch-c-14212280230507549953.cpp: fatal error C1083: Cannot open include file: 'C:\Program': No such file or directory
Workaround: Install Unity in a directory with no space in the path.
Reproduced with: 2021.2.0a8
Didn't reproduce with: 2021.1.0b11, 2020.3.0f1, 2019.4.22f1, 2018.4
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a12