Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4.0f1
2017.4.30f1
2018.4.0f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1179135
Regression
No
A project fails to build for WebGL if the project name contains UTF-8 symbols
How to reproduce:
1. Create a new project with a name that contains UTF-8 characters. For example, "тест"
2. Build the project for WebGL
Expected results: Project builds successfully without any errors
Actual results: Build fails, an error is thrown
Reproducible with: 2017.4.32f1, 2018.4.7f1, 2019.1.14f1, 2019.2.3f1, 2019.3.0b1, 2020.1.0a1
Additional notes:
1. A project builds for Windows without any errors
2. Full error message:
Building build.bc with EmscriptenToolChain
Output directory: D:\Repro\????\Temp\StagingArea\Data\Native
Cache directory: D:\Repro\????\Library\il2cpp_cache
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: ERROR:root:D:\Repro\????
\Temp\StagingArea\Data\il2cppOutput\Il2CppCompilerCalculateTypeValues.cpp: No such file or directory ("D:\Repro\????
\Temp\StagingArea\Data\il2cppOutput\Il2CppCompilerCalculateTypeValues.cpp" was expected to be an input file, based on the commandline arguments provided)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2020.1):
This PR, along with a fix to il2cpp, should solve the problem of utf-8 characters in project paths. There are still scenarios that will fail, but this should solve the 90% case.