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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Arbitrary modification of a generated assembly is not supported