Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question 2021.1 BETA Fails to start?

Discussion in '2021.1 Beta' started by Amon, Jan 29, 2021.

  1. Amon

    Amon

    Joined:
    Oct 18, 2009
    Posts:
    1,384
    I'm trying the latest 2021.1 beta but 90% of the time when I fire it up it fails to load. No errors or crashes. Not even the startup screen. I do notice though that when this happens it leaves an instance of the UnityHub running. I've tried closing the UnityHub instances via Task Manager but still end up, sometimes, in the same failed to start situation with more than 4-5 UnityHub Instances running and the beta failing ot load.

    Is anybody else having this happen to them?
     
  2. I use it extensively (Windows 10) and it works for me every time, even when I test stuff out and having package errors. (The UI Builder is more stable for me in the beta than in 2020.2.2)

    What do the logs say?
     
  3. Amon

    Amon

    Joined:
    Oct 18, 2009
    Posts:
    1,384
    I guess I better check the logs.
     
  4. Amon

    Amon

    Joined:
    Oct 18, 2009
    Posts:
    1,384
    I don't know what to look for in the log. I've narrowed it down to this though and can make it happen each time.

    If I try to start the editor via the asset store 'open in unity' feature then the editor will start with the loading screen, shift to the unity hub then when you click on a project to open it, the unity loading screen graphic disappears and the editor does not launch. It does leave an instance of unity hub open though when I view Task Manager.

    The Editor.log then has this in it:

    Code (CSharp):
    1. Checking for leaked weakptr:
    2.   Found no leaked weakptrs.
    3. ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1611886393634,"processId":19512,"allocatedMemory":153816,"memoryLabels":[{"NewDelete":68200},{"Thread":64},{"Manager":808},{"GfxDevice":13912},{"Serialization":40},{"BaseObject":9496},{"WebCam":72},{"String":6738},{"DynamicArray":464},{"Curl":1440},{"PoolAlloc":176},{"GI":3560},{"VR":272},{"EditorGui":56},{"EditorUtility":560},{"UnityConnect":27856},{"Collab":57},{"ProfilerEditor":20045}]}
    4.  
    5.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Exiting without the bug reporter. Application will terminate with return code 0
     

    Attached Files:

  5. I think that is part of the normal shut down. I do have the same in my logs after normal exit.
    Code (CSharp):
    1. Checking for leaked weakptr:
    2.   Found no leaked weakptrs.
    3. [Package Manager] Server::Kill -- Server was shutdown
    4. ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1611888507559,"processId":28340,"allocatedMemory":4327380,"memoryLabels":[{"Default":-1428},{"NewDelete":620971},{"Thread":424},{"Manager":1322616},{"Geometry":-952},{"Texture":456},{"Shader":128},{"GfxDevice":210584},{"Physics":1},{"Serialization":589456},{"File":16936},{"WebCam":72},{"String":319719},{"DynamicArray":400641},{"HashMap":31691},{"Utility":640},{"Curl":-4192},{"PoolAlloc":2024},{"Sprites":8},{"GI":336},{"VR":1888},{"NativeArray":424},{"Secure":6483},{"Subsystems":96},{"EditorGui":1520},{"EditorUtility":3280},{"VersionControl":768},{"AssetDatabase":760480},{"RestService":144},{"License":10784},{"UnityConnect":26462},{"Collab":3432},{"Licensing":1488}]}
     
  6. Amon

    Amon

    Joined:
    Oct 18, 2009
    Posts:
    1,384
    If you look at my log after the line 4 I have a line 5 full of NULNULNUL etc.

    Untitled.jpg