Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Bug warning about the new update to unity hub!

Discussion in 'Editor & General Support' started by Dialgavr, Jan 13, 2023.

  1. Dialgavr

    Dialgavr

    Joined:
    Apr 26, 2022
    Posts:
    53
    so, you might want to consider reinstalling your unity hub after the update. Mine completely broke. Not here for help, just warning those who haven't updated. It might come down to specs or something.
     
  2. JustinNaicker

    JustinNaicker

    Joined:
    Jan 4, 2023
    Posts:
    47
    What was the bug? And what broke? Please don’t tell people to just “reinstall” without giving any context.
     
  3. MikeBird

    MikeBird

    Joined:
    Nov 12, 2022
    Posts:
    4
    Unity Editor 2022.2.2f1 (linux) crashes for me on startup. I've tried reinstalling the hub but no change. I've also been searching for some kind of generic "how to get your project back if the editor keeps crashing" advice but I have not yet found anything. FWIW I was working on a HDRP shader graph the last time I was in the project before I upgraded. I'm fairly new to Unity and right now my project is a dead black hole. :(

    Code (csharp):
    1.  
    2. Base path: '/home/mgb/Unity/Hub/Editor/2022.2.2f1/Editor/Data', plugins path '/home/mgb/Unity/Hub/Editor/2022.2.2f1/Editor/Data/PlaybackEngines'
    3. Cmd: initializeCompiler
    4.  
    5. Unhandled exception: Protocol error - failed to read magic number (error -2147483644, transferred 0/4)
    6.  
    7. Quitting shader compiler process
    8.  
     
  4. MikeBird

    MikeBird

    Joined:
    Nov 12, 2022
    Posts:
    4
    FWIW deleting the Library folder and the shader graph got the editor to start up. However my hierarchy had lost everything but a default camera and light. I created a game object and attached a script and it actually worked but then a minute or so later the editor crashed again with the "failed to read magic number" error. Reimported all and again the hierarchy was reset to one camera and one light.

    I'm going to have to go back to a backup and 2022.2.1f1.
     
  5. chemicalcrux

    chemicalcrux

    Joined:
    Mar 16, 2017
    Posts:
    721
    Did you re-open the scene you were working on? It might have forgotten which scene you were editing.
     
  6. MikeBird

    MikeBird

    Joined:
    Nov 12, 2022
    Posts:
    4
    You may well be right. Thank you. I'm fairly new to Unity and didn't check that. However even with a single game object it crashed again within minutes with that magic number error so I rolled back to 2022.2.1f1.
     
  7. Dialgavr

    Dialgavr

    Joined:
    Apr 26, 2022
    Posts:
    53
    it just told me "unity hub had a critical error" after opening, reinstalling fixed the issue comepletely.
     
  8. Dialgavr

    Dialgavr

    Joined:
    Apr 26, 2022
    Posts:
    53
    its the unity HUB not editor
     
  9. Dialgavr

    Dialgavr

    Joined:
    Apr 26, 2022
    Posts:
    53
    I'm talking about unity hub here.
     
  10. Dialgavr

    Dialgavr

    Joined:
    Apr 26, 2022
    Posts:
    53
    I'm not the person to help. @Kurt-Dekker @BaBiAGameStudio @Yoreki please help this guy
     
    Last edited: Jan 14, 2023
  11. MikeBird

    MikeBird

    Joined:
    Nov 12, 2022
    Posts:
    4
    No need. I'm happy back on the previous version.

    It seems I mistakenly hijacked your thread, for which I apologize.
     
  12. Dialgavr

    Dialgavr

    Joined:
    Apr 26, 2022
    Posts:
    53
    oh, make sure you read all the way through and make sure its about the editor next time. Its all good