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
- Edge detection fails, _BlitTexture_TexelSize is 0
- Rotating GameObjects is not possible when transform.up is assigned through script
- [Android] Shadowmap Shadows have graphical errors on Android when the default Screen Recorder setting is turned on
- Editor crashes on physx::PxcDiscreteNarrowPhasePCM or freezes when instantiating many GameObjects
- [RenderingDebugger] Wireframe mode is not fully rendered in the Scene View
Add comment