Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fails sometimes with "Multiple Unity instances cannot open the same project." #821

Open
falko17 opened this issue Jan 20, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@falko17
Copy link
Collaborator

falko17 commented Jan 20, 2025

Since we moved the CI to sts5 in #813, the builds/tests sometimes fail with the following error:

Image

Examples of failing runs:

It sounds like the concurrent runners somehow interfere with each other, but this shouldn't happen for multiple reasons:

  • The four runners are all in completely separate directories, with their own copy of the project.
  • The Unity steps are isolated using Docker containers, that should (in theory) have no idea about what other Docker containers are doing. Clearly, this assumption is wrong somehow.

The cause is probably related to the way Unity detects whether a project is open multiple times.
Perhaps it's a problem that we're re-using the Library folder, or Unity just detects this based on the project name/ID instead of the path. A deeper investigation into the cause is necessary here.

@falko17 falko17 added the bug Something isn't working label Jan 20, 2025
@falko17 falko17 self-assigned this Jan 20, 2025
@falko17
Copy link
Collaborator Author

falko17 commented Jan 22, 2025

Should hopefully be fixed by the new commit for https://github.com/uni-bremen-agst/clone-see-action, but I'll keep this open for a while until we're sure the error doesn't re-occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant