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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
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