Search Issue Tracker

Fixed

Fixed in 2021.3.12f1, 2022.2.0b11, 2023.1.0a15

Unknown (hidden) 2022.1.X

Votes

10

Found in

2021.3.9f1

2022.2.0b7

2023.1.0a9

Issue ID

UUM-13281

Regression

Yes

[IL2CPP] Build fails with "Fatal error in Unity CIL Linker" when using UnityLinker

--

-

How to reproduce:
1. Open the user’s attached “IL2CPPError-2022.2.zip” project
2. Make sure Scripting Backend is set to “IL2CPP” (Edit > Project Settings… > Player > Other Settings)
3. Build the “SampleScene” Scene

Expected results: The build is successful
Actual results: The build fails with “Fatal error in Unity CIL Linker” error

Reproducible with: 2022.2.0a16, 2022.2.0b7, 2023.1.0a9
Not reproducible with: 2021.3.9f1, 2022.2.0a15
Could not test with: 2020.3.39f1 because of the “the dll is not allowed to be included or could not be found.” error

Reproduced on:
Windows 10

Note:
- The issue is not reproducible when using Mono Scripting Backend
- The issue has been reproduced with Standalone and Android Platform

  1. Resolution Note (fix version 2023.1.0a15):

    Fixed in: 2023.1.0a15

  2. Resolution Note (fix version 2022.2.0b11):

    Fixed in: 2022.2.0b11

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.