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
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
Resolution Note:
Arbitrary modification of a generated assembly is not supported