Search Issue Tracker

Not Reproducible

Votes

0

Found in

2018.4

2018.4.26f1

2020.2

Issue ID

1275303

Regression

No

Editor freezes on cleanup mono after building the player when exiting after batchmode build

Mono

-

Reproduction steps:
1. Open attached project ("case_1275303-client") in File Explorer
2. Open the "build-android-exe-full.bat" file and set UnityPath to the local Unity path
3. Wait for the build to finish (~2 minutes)

Expected result: Build finishes without issues and the Editor is closed
Actual result: Editor sometimes freezes

Reproducible with: 2018.4.27f1, 2020.2.0b2

Note: Issue reproduces roughly in around 1 in 30 tries

Comments (19)

  1. sa-muratbalci

    Mar 15, 2023 12:12

    Happening on batchmode builds on Win11, Unity 2020.3.41f1
    Din't see if it ever happened on Wn10 build machines...

  2. halfgrey01

    Dec 28, 2022 09:27

    We are also experiencing this issue. (2021.3.11f1)

  3. mcarriere

    Oct 10, 2022 00:47

    We're still seeing this on 2021.3.9f1 when running Android Builds on Windows via batchmode.

    For what it's worth; we're orchestrating the entire thing through Jenkins. I've tried adding 60 second sleeps before the builds to no avail.

  4. Whatever560

    Jul 22, 2022 13:54

    I might have path to troubleshoot this. I basically closed everything on the machine (VSC, VS 2022, unity editor & hub) and launched the CI again. It went through. Will open each program individually to see which was blocking.

    This answer helped : https://forum.unity.com/threads/how-do-i-report-this-bug.1128860/#post-7256411

  5. Whatever560

    Jul 21, 2022 19:13

    Updated to 2019.4.40f1 but still there, has anyone tried a full reimport ?

  6. GordonNB

    Jul 20, 2022 16:31

    Also seeing this periodically in Unity 2019.4.34f1

  7. Whatever560

    Jul 02, 2022 11:10

    I confirm this behaviour with 2019.4.3f11 in -batchmode, it happened after a windows 10 reinstall. Editor installation itself was on another disk and was not removed.

    Stuck at mono cleanup forever. Not sure how to troubleshoot this

  8. unity_9E5D5129505C01C3C9FF

    Mar 07, 2022 14:30

    Reproduced in batch mode 2020.3.27f1

  9. tonytopper

    Mar 01, 2022 19:12

    Just had this happen after updating to 2021.2.13f1.

  10. GilJoWal

    Feb 25, 2022 23:03

    Happening as well in 2021.2.12 when closing the Unity

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.