Search Unity

Problem when updating and changing the installation location

Discussion in 'Editor & General Support' started by AkhmedAbasov, Sep 13, 2018.

  1. AkhmedAbasov

    AkhmedAbasov

    Joined:
    Mar 13, 2014
    Posts:
    163
    I get the following errors

    C:/Users/�嬥�/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.9/Editor/Collab/CollabHistoryWindow.cs(13,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.9/Editor/Collab/CollabToolbarButton.cs(9,42): error CS0246: The type or namespace name `SubToolbar' could not be found. Are you missing an assembly reference?

    C:/Users/�嬥�/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.collab-proxy@1.2.9/Editor/Collab/CollabToolbarWindow.cs(26,42): error CS0122: `UnityEditor.Web.WebViewEditorStaticWindow' is inaccessible due to its protection level

    and so on.

    I have installed Unity 2018.2.7f1 (64-bit)

    Previously, the installation was on drive C

    I changed the cache location to another location. Why is he climbing here C:/Users/�嬥�/AppData/Local/Unity/cache?

    Also does not recognize Cyrillic symbols as I understood, hello to the inhabitants of the CIS countries - �嬥�

    I'll also note that I tried to install 2018.3 before - it was painful. How can I repair it now?
     
    Qbit86 likes this.
  2. ozi9891

    ozi9891

    Joined:
    May 3, 2013
    Posts:
    2
    Same problem here, it's due to that painful installation of 2018.3. Still haven't found a solution. Maybe someone from Unity developers could help? Would be great... my work is frozen ;// 2018.3.bugging.png
     
    Qbit86 likes this.
  3. ozi9891

    ozi9891

    Joined:
    May 3, 2013
    Posts:
    2
    I've just sent bug report to Unity. Hope they give us some workaround :)
     
  4. cryptoforge

    cryptoforge

    Joined:
    Jan 21, 2015
    Posts:
    60
    I confirm problem happens because of 2018.3... Had to revert our game to 2018.2.
     
    madhu_unity425 and winxalex like this.
  5. itsjustmeagain

    itsjustmeagain

    Joined:
    Dec 1, 2016
    Posts:
    14
    Still no solution for this ? I've got the same issue and delete Library folder and revert to 2018.2 didn't help.
     
  6. AkhmedAbasov

    AkhmedAbasov

    Joined:
    Mar 13, 2014
    Posts:
    163
    I was helped to create a new project and transfer all the files there.
     
    sSaltyDog and RatMoleRat like this.
  7. daniel-griffiths

    daniel-griffiths

    Joined:
    Jun 14, 2016
    Posts:
    27
    Getting same issue after updating project via git.. any solutions?
    thanks
     
    Qbit86 likes this.
  8. AkhmedAbasov

    AkhmedAbasov

    Joined:
    Mar 13, 2014
    Posts:
    163
    I was helped to create a new project and transfer all the files there.
     
    HiAvatar likes this.
  9. sanya_kotov

    sanya_kotov

    Joined:
    Feb 17, 2015
    Posts:
    4
    Hi guys, get the same error after instaling 2018.3/
    And I found the fix - just create new project and copypaste manifest.json from NewProject/Packages to you project.
    It works!
     
    atromgame, KingAndrew, sewy and 5 others like this.
  10. qoobit

    qoobit

    Joined:
    Aug 19, 2014
    Posts:
    51
    Just a heads up to anyone being the brave pioneer using the latest betas (I've had to learn it the hard way a few times in the past), zip and backup your projects prior to jumping to the latest version of Unity. In more than one occasion has it mangled my project beyond repair. In this case I've ran into the same problems as well. I have attached the log for any Unity staff trying to solve the errors. I have a hunch it has to do with all the new features in 2018.3 that aren't backwards translatable to 2018.2 (ie. Nested prefabs) as I would think you would need to update 2018.2 somehow to be able to handle and recompose nested prefabs as standalone prefabs some how, which sounds like a headache of its own.

    Also in my scenario, I had committed some updates after using the beta, and it seems you can't cull commits on collaborate (or I've yet to find out how). I ended up pulling the latest version of the project committed using the beta back into 2018.2 and it shows the same errors you guys have and then I replaced the files in the branch with my backup copy prior to jumping to 2018.3. However after opening the project again, it still wants to pull the new commits from 2018.3. The timestamp is not updated to being further than the latest commit.

    I will keep poking to see how to restore this.
     

    Attached Files:

  11. qoobit

    qoobit

    Joined:
    Aug 19, 2014
    Posts:
    51
    I've just successfully reverted the commit back to the 2018.2. After pulling all the new 2018.3 commits, overwrite your project folder with your 2018.2 backup with everything EXCEPT:

    Code (CSharp):
    1. /Library/Collab
    This will maintain the collaborate timestamp at the latest commit, and you can continue pushing changes in 2018.2.


    I hope this helps you guys.
     
    lucernagame likes this.
  12. Xtro

    Xtro

    Joined:
    Apr 17, 2013
    Posts:
    608
    Just delete the manifest.json in Packages folder.
     
  13. Pixygon

    Pixygon

    Joined:
    May 9, 2013
    Posts:
    26
    Thanks! Worked like a charm! :D
     
    teglead and sSaltyDog like this.
  14. Qbit86

    Qbit86

    Joined:
    Sep 2, 2013
    Posts:
    487
    I have the same issues in Unity 2018.2.14 on Windows 10:
    Code (csharp):
    1. .../Editor/Collab/CollabHistoryWindow.cs(13,56): error CS0122: `UnityEditor.Collaboration.ICollabHistoryWindow' is inaccessible due to its protection level
    2. .../Editor/Collab/CollabToolbarButton.cs(11,42): error CS0246: The type or namespace name `SubToolbar' could not be found. Are you missing an assembly reference?
    3. .../Editor/Collab/CollabToolbarWindow.cs(26,42): error CS0122: `UnityEditor.Web.WebViewEditorStaticWindow' is inaccessible due to its protection level
    4. .../Editor/Collab/CollabHistoryWindow.cs(31,20): error CS0122: `UnityEditor.Collaboration.HistoryState' is inaccessible due to its protection level
    5. .../Editor/Collab/CollabHistoryWindow.cs(33,9): error CS0122: `UnityEditor.Collaboration.HistoryState' is inaccessible due to its protection level
    6. ...
    /cc @JoshPeterson
     
  15. Athos-Krul

    Athos-Krul

    Joined:
    Aug 12, 2014
    Posts:
    24
    works even after restarting unity, thanks!
    P.S. This problem apeared when using unity (with git) 2018.3 on one pc and 2018.2 on another.
     
  16. bunichiroh

    bunichiroh

    Joined:
    Sep 12, 2018
    Posts:
    2
    It works! Thank you very much.
     
  17. BloMMer

    BloMMer

    Joined:
    Nov 4, 2017
    Posts:
    1
    Hi Guys, I am a beginner so do not take my resolution so serious...

    I have installed the 2019.1.0a12 version and it worked fine (still showed the same errors but have ignored them not blocking the project). I know it is an test version, but worked fine.
     
  18. tomyhuang

    tomyhuang

    Joined:
    Jan 22, 2018
    Posts:
    2
    I delete it but still get 50 errors in Unity.

    I try to delete AppData cache. Those errors goes away for a sec. After playing the project once, it crash...
    The main error it's complaining is about collab stuff in unity proxy package folder.
    It seems like it has problem with using current project with old version unity.

    I was using Unity 3.0 and try to change back to Unity 2.2, and I'm using Unity hub to open it.
    Do you have any suggestion for it?
    Thanks!
     

    Attached Files:

  19. pachermann

    pachermann

    Joined:
    Dec 18, 2013
    Posts:
    133
    Work like a charm when i delete the manifest.json (after shutdown unity)
     
  20. amanssj3

    amanssj3

    Joined:
    Jul 26, 2017
    Posts:
    1
    @pachermann damm you solve my problem like a charm .... thanks bro
     
    pachermann likes this.
  21. MarkeMark1972

    MarkeMark1972

    Joined:
    Feb 14, 2015
    Posts:
    5
    I have a simple solution.
    1 - Open the Package Manager (Window->Package Manager)
    2 - Click the Unity Collaborate package from the list on the left.
    3 - Click the update button on the top left of the package manager window.
    Done!
     
    Dibloo, Shodan0101, iremsevim and 2 others like this.
  22. YAJATKAPUR

    YAJATKAPUR

    Joined:
    Jan 5, 2018
    Posts:
    1
    Hey guys for anyone having the same problem in unity 2018.x and above just go into help and click on reset packages to defaults it will do some imports and then all errors will go from unity
     
  23. khuram_abstron

    khuram_abstron

    Joined:
    Jun 26, 2018
    Posts:
    1
    Worked For Me Thanks
     
  24. RebelSpartan

    RebelSpartan

    Joined:
    Jul 13, 2019
    Posts:
    3
    Thanks A lot its work
     
  25. Aatifahmad

    Aatifahmad

    Joined:
    Mar 8, 2018
    Posts:
    3
    Goto help and click reset packages to defaults. :)
     
    Xtro likes this.
  26. cryptoforge

    cryptoforge

    Joined:
    Jan 21, 2015
    Posts:
    60
    Perforce > Collab. There I said it.
     
  27. Abishekh_Parivel

    Abishekh_Parivel

    Joined:
    May 3, 2020
    Posts:
    1
    This worked for me, Thanks!
     
  28. loominator199

    loominator199

    Joined:
    May 24, 2017
    Posts:
    1
    Updating the collab package in package manager might be worth a try
     
  29. mptp

    mptp

    Joined:
    May 30, 2014
    Posts:
    29
    Just to add one thing to this: you don't need to completely wipe your package manifest, you can just close Unity, open up manifest.json in your Packages folder, find the line that includes
    com.unity.collab-proxy
    and delete it.

    And if you happen to be using unity collaborate, well...
    Perhaps you can learn something valuable from this experience regarding your choice in version control software ;)
     
    nobluff67 likes this.
  30. twice7713

    twice7713

    Joined:
    Apr 24, 2018
    Posts:
    24
    Thank you very much.
     
  31. kumarreddy_GameDeveloper

    kumarreddy_GameDeveloper

    Joined:
    Mar 31, 2021
    Posts:
    3
    Can you help me to solve my issue?
    Thanks in advance.
     
  32. AkhmedAbasov

    AkhmedAbasov

    Joined:
    Mar 13, 2014
    Posts:
    163
    I just created a new project and moved the files there
     
  33. iremsevim

    iremsevim

    Joined:
    Jun 30, 2019
    Posts:
    1
    This worked for me, Thanks!
     
  34. cficara

    cficara

    Joined:
    Sep 27, 2017
    Posts:
    35
    This worked for me also, thanks!
     
  35. Will_at_BridgeWorxGames

    Will_at_BridgeWorxGames

    Joined:
    Feb 20, 2020
    Posts:
    12
    This worked for me! Thank you!
     
  36. AssassinSquid

    AssassinSquid

    Joined:
    Nov 5, 2020
    Posts:
    4
    If you edit the manifest.json in the packages folder and just backspace the line for collab it fixes the issue. At least for me.
     
  37. SufyanQureshi

    SufyanQureshi

    Joined:
    Jul 12, 2019
    Posts:
    1
    Oh buddy it works for me
     
  38. cficara

    cficara

    Joined:
    Sep 27, 2017
    Posts:
    35
    I stumbled upon this issue on another project, months later.

    Basically wanted to add Plastic, to a project that didn't have Collaborate enabled. Added Collaborate first, updated it, then Plastic SCM was available, but this very same error appeared. Deleting manifest.json also deleted Collaborate.

    What I did is simply deleting the folder Collaborate, inside com.unity.collab-proxy@1.14.18\Editor, this did the trick for me.
     
  39. FeldarTheFabulous

    FeldarTheFabulous

    Joined:
    Nov 27, 2022
    Posts:
    2
    Thank you so much for the help. I am brand new to Unity and was getting frustrated. It worked like a charm.
     
  40. dweekdev

    dweekdev

    Joined:
    Aug 2, 2021
    Posts:
    11
    thanks its work for me