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

IL2CPP

-

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

  1. Resolution Note (fix version 2020.2):

    Fix JSON exception when building project with large number of scenes

Comments (1)

  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

Log in to post comment