Unity missing reference at Library/PackageCache/com.unity.collab-proxy@1.2.16

Viewed 7131

I just bought template products in Unity expecting to learn some logic

i just encountered errors of CS0246 when importing. and it seems all coming from one package in Library below is one of the error message.

Library/PackageCache/com.unity.collab-proxy@1.2.16/Editor/Collab/Presenters/CollabHistoryPresenter.cs(21,9): error CS0246: The type or namespace name 'BuildAccess' could not be found (are you missing a using directive or an assembly reference?)

i am a beginner and i don't know how to handle on this kind of error. can anyone kindly help me point out where and why this error happen?

3 Answers

I just updated from 2019.x to 2020.3.x and ran into this problem. I tried clearing my package cache and ensuring the Collaborate service was disabled (Window -> General -> Services), but neither worked.

What fixed it for me was removing the "Version Control" package (a "built in" package, I believe. Check your filter in package manager!). I was never using Collaborate or Plastic SCM, just git, so I don't know why this would cause a problem from a simple upgrade.

Here are a few suggestions for tracking down the issue. Hard to tell what is missing.

  • close unity and delete Library and obj folders. Then open Unity again. It will re-sync those folders.
  • disable collaborate from services window in 2019- or window/collaborate in 2020+ and see if the issue gets resolved.

I checked the Package Manager and removed Collaborate. No idea how it got there.

Related