Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2018.4
2019.2
2019.3
2019.3.0b12
2020.1
Issue ID
1212919
Regression
No
IL2CPP incorrectly boxes values when using generic virtual methods on structs
Steps to reproduce:
1. Open the attached project (case_1212919.zip)
2. Attach "TestScript" to any GameObject
3. Under Edit -> Project Settings -> Player -> Other Settings, set Scripting Backend to IL2CPP
4. Build as Standalone with "Development Build " checked
5. Run the built executable
Expected result: Numbers 1 through 10 are constantly logged to the Console
Actual result: 0 is constantly logged to the Console
Reproduced in: 2018.4.16f1, 2019.2.19f1, 2019.3.0f5, 2020.1.0a21
Cannot test with: 2017.4.36f1 (IL2CPP not available)
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
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a3
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b2
Resolution Note (fix version 2019.3):
Fixed in 2019.3.13f1