Search Unity

Cannot open project with Hub. It says "Unity is already in list."

Discussion in 'Editor & General Support' started by MyNicknameIsCarl, Dec 3, 2019.

  1. MyNicknameIsCarl

    MyNicknameIsCarl

    Joined:
    Dec 3, 2019
    Posts:
    1
    I was opening a project with Hub, when it says "Unity is already in list. You cannot locate the same version".
    I checked the logs, and the problem is:
    Code (JavaScript):
    1. {"moduleName":"LocalProject","level":"info","message":"[ 'openProject projectPath: /path/to/my/project, current editor:',\n  undefined ]","timestamp":"2019-12-03T10:26:25.143Z"}
    2. {"moduleName":"RestEvent:Project","level":"info","message":"[ 'onProjectOpen data:',\n  { projectPath:\n     'path/to/my/project' } ]","timestamp":"2019-12-03T10:26:25.143Z"}
    3. {"moduleName":"UnityIPCServer","level":"info","message":"[ 'client process has connected to Unity-hubIPCService!' ]","timestamp":"2019-12-03T10:26:26.207Z"}
    4. {"moduleName":"Auth","level":"info","message":"[ 'Successfully logged in' ]","timestamp":"2019-12-03T10:26:26.607Z"}
    5. {"level":"error","message":"Unhandled promise rejection, reason: The value of \"byteLength\" is out of range. It must be >= 1 and <= 6. Received 8\n\tstack RangeError [ERR_OUT_OF_RANGE]: The value of \"byteLength\" is out of range. It must be >= 1 and <= 6. Received 8\n    at boundsError (internal/buffer.js:58:9)\n    at Uint8Array.readUIntLE (internal/buffer.js:80:3)\n    at WindowController._sendMainWindowHandleData (D:\\MBI\\x64\\Unity Hub\\resources\\app.asar\\src\\services\\localIPC\\controllers\\window.js:104:30)\n    at WindowController.show (D:\\MBI\\x64\\Unity Hub\\resources\\app.asar\\src\\services\\localIPC\\controllers\\window.js:53:12)\n    at processTicksAndRejections (internal/process/task_queues.js:86:5)","timestamp":"2019-12-03T10:26:33.554Z"}
    6. {"moduleName":"HubIPCService","level":"info","message":"[ 'socket has disconnected: [object Object] , false!' ]","timestamp":"2019-12-03T10:26:43.613Z"}
    7. {"moduleName":"LaunchProcess","level":"info","message":"[ 'child process exited with code 0' ]","timestamp":"2019-12-03T10:26:43.670Z"}
    How can I fix the "Unhandled promise rejection, reason: The value of \"byteLength\" is out of range. It must be >= 1 and <= 6."?
     
  2. lolimilk

    lolimilk

    Joined:
    Dec 17, 2018
    Posts:
    15
    I have a same problem.
    Have you found the solution?
     
  3. Etonix

    Etonix

    Joined:
    Sep 21, 2018
    Posts:
    203
    Any luck?
     
  4. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820
  5. Etonix

    Etonix

    Joined:
    Sep 21, 2018
    Posts:
    203
  6. rricamar

    rricamar

    Joined:
    May 4, 2016
    Posts:
    11
    Hi, Im with the same error. The solution of opening the Scene.unity does not work for me.
    Incredible to see how many people is facing this error and the dev team does nothing in such important bug :(
     
  7. rricamar

    rricamar

    Joined:
    May 4, 2016
    Posts:
    11
    Empirics and TheWarper like this.