Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.2.X, 2022.1.X
Votes
1
Found in
2019.4
2019.4.32f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1379139
Regression
No
String Literal may be garbage collected when building project with IL2CPP Scripting Backend
How to reproduce:
1. Download .Net 5 SDK
2. Open the user attached "TestStringLiteral.zip" project
3. Change the Scripting Backend to IL2CPP (Edit -> Project Settings -> Player)
4. Build the project in the "product" folder located in the project folder (File -> Build Settings -> Build)
5. Open the "AutoTestTool" folder located in the project folder ("project folder"/Tools/AutoTestTool)
6. Start "publish.bat", then start "StartTest.bat"
Expected result: No errors are thrown in the build
Actual result: An error is thrown after multiple runs
Reproducible with: 2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.3f1, 2022.1.0a15
Note:
- It might take some time to reproduce, somewhere between 10 minutes and a few hours ~2h
- Not reproducible on MacOS
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
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Duplicated groups and incorrect grouping in UI Builder when using UxmlElementAttribute: libraryPath
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
- Crash on UNITY_FT_Render_Glyph_Internal when Generating Font Atlas in the Font Asset Creator Window
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a2
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b6
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.10f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.27f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.35f1