Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2018.4.X, 2019.1.X, 2019.2.X
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.10f1
2019.1.0a1
2019.2.0a1
Issue ID
1140509
Regression
No
[IL2CPP] ref parameters in generic functions are overridden
Steps to reproduce:
1. Download attached project (GenericRefDelegate.zip)
2. Build a Standalone IL2CPP project
3. Launch player
4. Navigate to player logs <C:\Users\username\AppData\LocalLow\CompanyName\ProductName\Player.log>
Results: ref parameters in generic functions are overridden
Reproduced with: 2019.2.0a11, 2019.1.0f2, 2018.3.13f1, 2017.4.25f1
Note:
- 2017.4 version was tested on UWP
- Not reproducible in development build
Example:
private T ExchangeWithTemp<T>(ref T Ptr) where T : class
{
T result = Ptr;
Ptr = null;
return result;
}
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2019.3):
Fixed in 2018.4.0f1, 2019.1.1f1, 2019.2.0b3, 2019.3.0a5