Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2019.4.26f1
2019.4.28f1
Issue ID
1340973
Regression
No
Unity crashes with "Fatal Error! The file 'MemoryStream' is corrupted!" ("IOException: Too many open files") when using Rider
How to reproduce it:
1. Open the project from Google Drive link "users_project.zip"
2. Open any script using JetBrains Rider
3. Try to edit the script and save it
4. Observe the Unity
Expected result: Unity doesn't crash
Actual result: Unity crashes with error: "Fatal Error! The file 'MemoryStream' is corrupted!"
Notes:
- Could not reproduce on my MacBook Pro 8-Core Intel Core i9 2.4 GHz 32 GB; Intel UHD Graphics 630 1536 MB Radeon Pro 5500M 8 GB
- Could be related to Asset Pipeline
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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Resolution Note (fix version 2022.1):
The issue at hand was the and Android Logcat window was leaking PIPE handles, while polling for 'adb devices'.
Upon further debugging, it was discovered that the way external programs were launched was leaking PIPEs, and as such a larger fix has been made.
This is the ticket that fixes it: https://issuetracker.unity3d.com/issues/android-adb-functionality-leaks-a-pipe-causes-too-many-open-files-error
Backports have been scheduled for:
2021.2
2021.1
2020.3
2019.4