因为 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中删除就好了~~不说了..撸代码..
Unity 2018.4.0 回退到 2018.2.2 出现错误日志修复
原文:https://www.cnblogs.com/bw1219/p/10975152.html