Skip to content

fork makes Unity deadlock sometimes on Windows #2824

Description

@cannaan

Windows11, Fork 2.21.0.0
after switch version control to fork, some of my Unity project stuck at the loading splash. recent Unity log says:

Begin MonoManagerReloadAssembly
- Loaded All Assemblies, in xxx seconds
Application.AssetDatabase Initial Refresh Start

delete the cache, restore the system cannot fix it.
run Unity with -DisableDirectoryMonitor fixed it.

I am not able to make a repro, cause it dose not happen everytime, but after I and one of my collague start using Fork, we both met the problem, others are alright. I suspect fork and Unity monitor the file changes at the same time has possibilities to make it deadlock.

I tried changing git instance settings, didn't fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions