Search Issue Tracker

Fixed in Unity 2019.1

Votes

0

Found in

2018.2.6f1

Issue ID

1078167

Regression

No

[IL2CPP] Assertion error being fired when setting FieldInfo.SetValue to null

IL2CPP

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 2Core functionality majorly impacted

Steps to reproduce:
1. Download attached project
2. Switch platform to Standalone
3. Build project on IL2CPP backend

Expected results: No exception is triggered
Actual results: System.Reflection.FieldInfo.SetValue(this, null) triggers assertion failed klass->size_inited on IL2CPP backend

Reproduced with: 2018.3.0b1, 2018.2.7f1, 2018.1.9f2, 2017.4.11f1

Tested and reproduced on: Standalone and UWP platfomrs

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.