Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
1
Found in
2020.3.46f1
2021.3.20f1
2022.2.9f1
2023.1.0b7
2023.2.0a5
Issue ID
UUM-28761
Regression
No
BinaryFormatter.Serialize throws a SerializationException when trying to serialize more than 13169966 objects
Reproduction steps:
1. Open the attached “addressable_content_state_unityproj“ project
2. Open the “Content Update Loader” Custom Editor Window (BugReport > Content Update Loader)
3. Press the “Load From JSON” button
4. Press the “Save with BinaryFormatter (Inducing Bug)” button
5. Observe the Console window
Expected result: “SerializationException: The internal array cannot expand to greater than Int32.MaxValue elements.” is present
Actual result: No errors are present
Reproducible with: 2020.3.46f1, 2021.3.20f1, 2022.2.9f1, 2023.1.0b7, 2023.2.0a5
Reproducible on: Windows 10 (21H2)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
We can't fix this with our current Mono base class library. When Unity moves to the .NET Core base class library, this limitation will be removed.
Resolution Note (2023.2.X):
We can't fix this with our current Mono base class library. When Unity moves to the .NET Core base class library, this limitation will be removed.