Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2020.1.0b12
Issue ID
1256534
Regression
Yes
[IL2CPP] System.InvalidOperationException: Maximum length exceeded when building big project
To reproduce:
1. Open attached project
2. Build it for iOS or Android (IL2CPP backend)
Expected result: Build succeeds without errors.
Actual result: UnityLinker.exe fails to run.
stdout:
Fatal error in Unity CIL Linker
System.InvalidOperationException: Maximum length exceeded.
Was able to reproduce issue with 2020.1.0b12 and 2020.2.0a14
Comments (1)
-
PlinChen
Aug 28, 2020 08:18
This exception perhaps can be solved by : shorten the path of the project located.
On windows , path length exceeding is very normal.
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.2):
Fix JSON exception when building project with large number of scenes