Search Issue Tracker

Active

Votes

0

Found in

2022.2.10f1

2023.1.0b8

2023.2.0a5

Issue ID

UUM-29488

Regression

Yes

Editor crashes due to memory corruption when importing a package multiple times

--

-

*How to reproduce:*
# Create a new project
# Open the Package Manager
# Add package by name “com.unity.postprocessing”
# Remove package
# Add package by git url “[https://github.com/Unity-Technologies/Graphics.git?path=com.unity.postprocessing]”

*Expected results:* Package is added without issues

*Actual results:* Editor crashes after importing the package with the message - "The file 'MemoryStream' is corrupted! Remove it and launch unity again! [Position out of bounds!]"

*Reproducible with:* 2022.1.0a2, 2022.2.10f1, 2023.1.0b8, 2023.2.0a5

*Not reproducible with:* 2021.3.21f1, 2022.1.0a1

*Could not test with:* 2020.3.46f1(PM did not yet have the option to import package by name)

*Notes:*
# The crash is not 100% consistent, sometimes it requires to repeat steps 2-5 for multiple times (Usually the crash should not take more than 3 tries)
# Reproduced on Ubuntu18, Rocky 8.5, macOS 13.0.1 and Win11

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.