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

Duplication of entries in Source Files field when applying changes to yarnproject #293

Open
H3G0A opened this issue Oct 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@H3G0A
Copy link

H3G0A commented Oct 23, 2024

Whenever I make any change to a .yarnproject file in the Unity inspector, new entries appear in the "Source Files" field. The entries are always the same: **/.yarn, and each time I repeat the process, more entries appear at once.
If I create a fresh yarnproject it will start fine, with only 1 entry that says **/
.yarn and the first time I apply a change, 2 more of that same entry will apear. The next time, 6 will appear and each time that number doubles. This happens even if I delete all entries before applying changes.
Furthermore, nothing happens when I click the button to add new entries myself (although it lets me "apply changes").

This behaviour only happens on my computer, but it happens no mater what Unity project I'm on. It doesn't even stop even after reinstalling unity/unity hub from scratch and cleaning any leftover files.

This problem began happening after some time using yarn spinner, it didn't occur at first. However, I don't recall commiting any significant changes related to yarn spinner during that time.

  • Yarn Spinner Version: 2.4.2
  • Unity Version: 2022.3.30f1

Other information

This is the output from the file Editor.log each time a single change is applied:
Asset Pipeline Refresh (id=751ed96754d0d2e4d8b6d05ab26719c5): Total: 0.008 seconds - Initiated by RefreshV2(AllowForceSynchronousImport) Start importing Assets/8. Sandbox/Yarn Spinner/SandboxProject.yarnproject using Guid(bc1e161d314ee7a448d0e7937f80c1eb) Importer(-1,00000000000000000000000000000000) -> (artifact id: '831a9f67d569009029f41c60154fe3f2') in 0.027275 seconds Refreshing native plugins compatible for Editor in 19.85 ms, found 4 plugins. Preloading 0 native plugins for Editor in 0.00 ms. Start importing Assets/8. Sandbox/Yarn Spinner/SandboxProject.yarnproject using Guid(bc1e161d314ee7a448d0e7937f80c1eb) Importer(-1,00000000000000000000000000000000) -> (artifact id: '831a9f67d569009029f41c60154fe3f2') in 0.025773 seconds Refreshing native plugins compatible for Editor in 19.25 ms, found 4 plugins. Preloading 0 native plugins for Editor in 0.00 ms. Asset Pipeline Refresh (id=d27081a3f0edc134a982f6f813a6f4a0): Total: 0.198 seconds - Initiated by StopAssetImportingV2(NoUpdateAssetOptions) [Worker0] Start importing Assets/8. Sandbox/Yarn Spinner/SandboxProject.yarnproject using Guid(bc1e161d314ee7a448d0e7937f80c1eb) Importer(815301076,1909f56bfc062723c751e8b465ee728b) [Worker0] -> (artifact id: 'a1be9309e99c8b65c024234e7699884d') in 0.001889 seconds

@H3G0A H3G0A added the bug Something isn't working label Oct 23, 2024
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