因為 2018.4.0太不穩定..總是會報gc錯誤
所以就將項目回退到2018.2.2版本..這個時候就出現了一大堆錯誤...
一小部分如下:
C:/Users/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.15/Editor/Collab/Views/CollabHistoryItemFactory.cs(21,28): error CS0122: `UnityEditor.Collaboration.RevisionData' is inaccessible due to its protection level C:/Users/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.15/Editor/Collab/Views/PagedListView.cs(118,16): error CS0122: `UnityEditor.Collaboration.PageChangeAction' is inaccessible due to its protection level C:/Users/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.15/Editor/Collab/Views/PagedListView.cs(17,9): error CS0122: `UnityEditor.Collaboration.PageChangeAction' is inaccessible due to its protection level C:/Users/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.15/Editor/Collab/Views/ICollabHistoryItemFactory.cs(15,21): error CS0122: `UnityEditor.Collaboration.RevisionData' is inaccessible due to its protection level C:/Users/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.15/Editor/Collab/Views/CollabHistoryItem.cs(20,23): error CS0122: `UnityEditor.Collaboration.RevisionAction' is inaccessible due to its protection level C:/Users/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.15/Editor/Collab/CollabHistoryWindow.cs(20,56): error CS0122: `UnityEditor.Collaboration.ICollabHistoryWindow' is inaccessible due to its protection level C:/Users/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.15/Editor/Collab/CollabToolbarButton.cs(11,42): error CS0246: The type or namespace name `SubToolbar' could not be found. Are you missing an assembly reference?
然后就一直找類似問題..終於 https://forum.unity.com/threads/problem-when-updating-and-changing-the-installation-location.554881/ 中有大神指出
然后就進入Packages中刪除就好了~~不說了..擼代碼..