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 crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
This is a duplicate of issue #886110