Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

42

Found in

2021.2.0b14

2022.1.0a9

Issue ID

1370389

Regression

Yes

Crash on OnDemandScheduler::SetStandbyWorkerCount when opening a project with a symbolic link in it

Asset - Database

-

How to reproduce:
1. Create a new project
2. Create e.g. a text file outside of your projects directory
3. Use the file from outside the projects directory and drop it as a symbolic link in the project's assets
4. Open the project and observe the crash

Reproducible with: 2021.2.0b14, 2022.1.0a9, 2022.1.0a12
Not reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0b13, 2022.1.0a8

First lines of the stack trace:
0x00007ff762cbfee1 (Unity) OnDemandScheduler::SetStandbyWorkerCount
0x00007ff762c8797a (Unity) RefreshSettings
0x00007ff762c9f88f (Unity) <lambda_283f97c31f4e30d8552a28501eddf336>::operator()
0x00007ff762cd9561 (Unity) LMDB_Transaction::Run
0x00007ff762cd9904 (Unity) SourceAssetDBWriteTxn::Run
0x00007ff762cae8bf (Unity) SourceAssetScanner::Refresh

Note:
1. You can use Link Shell Extension as software to reproduce the issue or do it manually in terminal

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a14

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.4f1

Comments (10)

  1. shikshade

    Sep 13, 2024 22:28

    Hello, shikshade

  2. siberkraf

    Apr 18, 2024 17:08

    Thankyou <a href="/">for</a> resolve this bug

  3. nickfury12555

    Jul 20, 2023 09:48

  4. poojapandit

    Apr 27, 2023 06:34

    this is really good it will help me a lot. Thanks

  5. e_Zinc

    Nov 16, 2021 21:54

    This is very important for multiplayer testing, especially considering the official Netcode documentation recommends ParellSync as the primary way to test: https://docs-multiplayer.unity3d.com/docs/tutorials/testing/testing_locally#parrelsync

  6. shelim

    Nov 15, 2021 10:08

    For people struggling with the issue and wondering - the given above workaround will NOT disable live refresh of assets. So even if you check:

    Preferences > Asset Pipeline > Directory Monitoring (Disable this)

    It will still re-load changed assets on the fly

  7. VincentGrubbs

    Nov 03, 2021 19:51

    https://github.com/VeriorPies/ParrelSync/issues/61#issuecomment-955798778

    A work around. Preferences > Asset Pipeline > Directory Monitoring (Disable this)

  8. Turniper

    Nov 03, 2021 19:38

    +1 for this breaking my workflow for testing multiplayer games. Really would appreciate this being added to 2021.2 soon, as otherwise I'll have to drop back to 2021.1 until it is.

  9. macieorlinski

    Nov 03, 2021 12:12

    I am using symlinks to test multiplayer games in multiple editors, this bug destroys my workflow

  10. VincentGrubbs

    Nov 02, 2021 22:43

    This crash is preventing Clones (from UnityProjectCloner for example) from working, which makes this bug a huge pita to exist.

    Exists in 2021.2.0f.

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.