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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment