Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.2
2019.2.9f1
2019.3
2020.1
Issue ID
1191419
Regression
No
[IL2CPP] Application crashes when accessing structure property by delegate
To reproduce:
1. Open attached project
2. Make sure backend is set to IL2CPP
3. Build and run the project
4. Press the "ClickMe" button
Actual result: Application crashes
Expected result: Application should not crash
Reproduced with:2019.2.12f1; 2020.1.0a12
Can't check on 2017.4 and 2018.4 due to errors.
Tested and reproduced with:
VLNQA00290, Samsung Galaxy S10 5G (SM-G977U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00099, Google Pixel XL (Pixel XL), Android 9, CPU: Snapdragon 821 MSM8996 Pro, GPU: Adreno (TM) 530
iPhone X iOS 11.3.1
Standalone
Note:
Does not reproduce with Mono backend
Code:
void Test()
{
var structPropertyDelegate = (StructPropertyGetterDelegate<TestStruct,int>)Delegate.CreateDelegate(typeof(StructPropertyGetterDelegate<TestStruct,int>),
typeof(TestStruct).GetProperty("X").GetMethod);
Text.text = structPropertyDelegate(new TestStruct(){X=10}).ToString();
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] 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
Add comment