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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 2020.2):
Fix JSON exception when building project with large number of scenes