Search Issue Tracker
Fixed
Fixed in 2021.3.27f1, 2022.2.21f1, 2023.1.0b18, 2023.2.0a16
Votes
0
Found in
2021.3.7f1
2022.1.10f1
2022.2.0b5
2023.1.0b15
2023.2.0a13
Issue ID
UUM-12497
Regression
No
Garbage Collection does not finish when running the Editor through a Terminal process
How to reproduce:
1. Extract the user-attached “unittesthang.zip” project
,
2. Open the Terminal or Console on your OS
3. Run the Editor through the Command Line with the provided arguments: “ /”Editor Location”/Unity.app/Contents/MacOS/Unity -accept-apiupdate -batchmode -logFile - -projectPath /”Project Location”/IN-9536_unittesthang -buildTarget Android -nographics -executeMethod EditorDataProvider.Clean -runTests -testPlatform playmode “
Expected result: Command finishes
Actual result: Garbage Collection starts and does not finish
Reproducible with: 2020.3.41f1, 2021.3.7f1, 2022.1.10f1
, 2022.2.0a10
Not reproducible with: 2022.2.0a11, 2022.2.0b5, 2023.1.0a4
Couldn't test with: 2020.3.47f1 (Hangs on "Platform modules already installed, skipping), 2021.3.24f1 (Hangs on "Asset pipeline refresh), 2022.2.17f1, 2023.1.0b14, 2023.2.0a13 (executeMethod class "EditorDataProvider" could not be found)
Reproduced on: macOS Monterey 12.0.1
Note:
- Opening the Project once with the Editor before running the command might be required in order to reproduce
- Not reproducible with a new project
- Reproduction may fail on the first try, if it does repeat step 3
- No Duplicate Issue was found
- Could not test on Windows (No alternative command found for reproduction)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
Add comment