Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Symbolic Linker sometimes hangs when trying to delete an old link #793

Closed
2 of 5 tasks
StephenHodgson opened this issue Feb 23, 2021 · 1 comment · Fixed by #794
Closed
2 of 5 tasks

Symbolic Linker sometimes hangs when trying to delete an old link #793

StephenHodgson opened this issue Feb 23, 2021 · 1 comment · Fixed by #794
Assignees
Labels
Bug Something isn't working Unity Bug It's them not us :D

Comments

@StephenHodgson
Copy link
Contributor

XRTK - Mixed Reality Toolkit Bug Report

Describe the bug

When updating to a branch where a symbolic link has been deleted or removed the symbolic linker will cause the editor to hang indefinitely.

To Reproduce

  1. Remove a symbolic link from the project and commit the change
  2. Switch to a branch where the symbolic link exists
  3. Close the editor
  4. Switch back to the branch where the symbolic link was removed
  5. Open the editor
  6. Observe that the editor fails to fully load the project and hangs on project open

Expected behavior

Project should open without delays

Actual behavior

Project hangs when trying to open the project where a link was removed.

Your Setup

  • Operation System:
    • Windows
    • MacOs
    • Linux
    • Other
  • Unity Version: 2019.4.19f
  • XRTK Packages
    • com.xrtk.core 0.2.8
@StephenHodgson StephenHodgson added the Bug Something isn't working label Feb 23, 2021
@StephenHodgson StephenHodgson self-assigned this Feb 23, 2021
@StephenHodgson
Copy link
Contributor Author

I tried digging into this in depth yesterday, and it seems to be a bug with the Unity AssetDatabase. The editor seems to freeze up if a folder with an directory junction (symlink) is inside the project's asset folders and the reference to that junction is no longer valid.

This typically is the case when using a SVC like GIT to change between branches and a previously valid link is removed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working Unity Bug It's them not us :D
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant