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
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
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.