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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Resolution Note:
Arbitrary modification of a generated assembly is not supported