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
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder 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