Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4

2019.3.5f1

2020.2

Issue ID

1256409

Regression

No

'MemoryStream' corrupted crash when adding a field using Cecil

Mono

-

Reproduction steps:
1. Open the attached project ("1256409.zip")
2. Open "SampleScene"
3. Enter Play mode

Reproducible with: 2018.4.24f1, 2019.3.16f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18

Notes:
- The project in question initialized a boolean with a custom attribute at the start of Play mode and then uses that boolean to add a field through Cecil in InitializeOnLoad

  1. Response avatar

    Resolution Note:

    Arbitrary modification of a generated assembly is not supported

Add comment

Log in to post comment

All about bugs

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