Search Issue Tracker

Active

Votes

0

Found in

2022.3.68f1

6000.0.61f1

6000.2.10f1

6000.3.0b8

6000.4.0a3

Issue ID

UUM-124814

Regression

No

Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names

-

Reproduction steps:
1. Open the attached “IN-122008_methods-to-preserve-Repro.zip“ project (link in the internal comments)
2. Go to File > Build Profiles
3. Select the Windows platform
4. Make sure the “Scenes/SampleScene” is on the Scene List
5. Press the “Build And Run” button and select the folder for the Player build

Expected result: Player build finishes successfully with no errors
Actual result: Player build fails with a “Fatal error in Unity CIL Linker”

Reproducible with: 2022.1.0a1.191, 2022.3.68f1, 6000.0.61f1, 6000.2.10f1, 6000.3.0b8, 6000.4.0a3

Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested

Note: CQA could not reproduce in a new project

Error message (first few lines):
”Building Library\Bee\artifacts\WinPlayerBuildProgram\ManagedStripped failed with output:
C:\Program Files\Unity\Editor\2022.3.62f1_4af31df58517_x64\Data\il2cpp\build\deploy\UnityLinker.exe @Library\Bee\artifacts\rsp\9076884223186499981.rsp
Fatal error in Unity CIL Linker
System.Xml.XmlException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 4, position 18.
<…>”

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.