Search Issue Tracker
Duplicate
Votes
0
Found in
5.5.1p4
Issue ID
884245
Regression
No
Unity crashes on mono_custom_attrs_from_class when an incompatible script is in a prefab and one tries to apply some changes
How to reproduce:
1. Open the attached project
2. Open a new scene
3. Find NavigationPoint prefab in the project and drag it to the scene
4. Notice that it has incompatible script
5. Click the prefab Apply button
Result: Fatal Error appears "The file 'MemoryStream' is corrupted!..." and Unity crashes
Reproducible: 5.5.0b9, 5.5.2f1, 5.6.0b10
Not able to reproduce with 5.4.4p4, project crashes because of forward incompatibility. Also it is full of compilation errors
Duplicate of the WON'T FIX case:
The cause of the error is that the users project is not setup correctly, the user has added scripts that derive from ScriptableObject instead of MonoBehaviour to GameObjects, resulting in crashes.. Developer added error to detect this case, so the users can fix the issue themselves.
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
- [Editor] Profiler (Standalone Process) "Live" button is greyed out by default
- UIToolkit bindings on RadioButtonGroup is not displaying the selected radio button when the choice list is bound
- Sprite shadows are not rendered when the light source is placed near the sprite
- Multiple Video Players are not playing simultaneously when played in WebGL
- "Rename Prefab File?" window does not pop up when renaming Prefab in the Project window
This is a duplicate of issue #886110