Search Issue Tracker

Fixed

Votes

20

Found in

Issue ID

1204148

Regression

Yes

"The value of \"byteLength\" is out of range" error is thrown in the Hub logs

Hub

-

{"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 (C:\\Program Files\\Unity Hub\\resources\\app.asar\\src\\services\\localIPC\\controllers\\window.js:104:30)\n at WindowController.show (C:\\Program Files\\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-09T14:36:24.176Z"}

Reproducible with: 2.2.0, 2.2.1

Notes:
- The error often appears in the logs when the Hub throws "Unity is already in the list. You cannot locate the same version"
- The error also often appears when users are saying that for one or another reason they are unable to open the projects

WORKAROUND:
use Command Prompt or Terminal to open Unity with command line argument -projectPath:
"<path to Unity.exe>" -projectPath "<path to the main project directory>"

Comments (9)

  1. B11c6380106b12cb30d4d6ecb0be6dfc?d=mm

    vpsdss

    Aug 12, 2020 09:36

    Not working(

  2. A45ef474c08c1bbb863fb9384b743586?d=mm

    ObvSoft

    Aug 10, 2020 09:27

    Hello, on August 10th 2020, I am using Unity Hub 2.3.2 and Unity 2019.3.15.f1 with a personal license and I confirm that the issue is still present.
    I have to open directly the scene of my projects as workaround.
    Maybe I can open a new bug ticket ?

  3. 3b86401f4ba0715e9cbac69df1a160ed?d=mm

    Akamis

    Jun 16, 2020 12:38

    It's not fixed !!
    I continue to have this issue.

  4. Bc75b90edcac1ec26cfd78a350b44d9f?d=mm

    fherbst

    May 05, 2020 12:46

    The fix for me was to re-enable the ethernet adapter. I'm on a laptop with separate Wifi and Ethernet adapters, but disabling Ethernet broke Unity hub despite it not being used at all (purely on Wifi). Re-enabling the Ethernet adapter fixed the issue. Reported as Case 1244367

  5. 5ef5c7fda80a128b32fee958609e92cf?d=mm

    eric-taylor

    Apr 26, 2020 16:17

    Still experiencing this issue as well.

  6. 3ad992f19537880090ed36186c384a49?d=mm

    kodogijo

    Apr 21, 2020 06:32

    Fixed?
    Still not working with unity hub 2.3.0 and Unity 2019.3.10f1

  7. 041892ed982acb917e36073f667ec193?d=mm

    eniliosarcos

    Mar 18, 2020 14:40

    same here. unity hub 2.3.0 and Unity 2019.3.0f6

  8. Bae4b26934314bfb977888ed12d54c82?d=mm

    Empirics

    Dec 15, 2019 04:28

    can't open project on work :(

  9. 81c6524cdc25e4033f2cd2b78418cba0?d=mm

    rricamar

    Dec 10, 2019 18:01

    Same here, I cannot even open a project, seems that others are getting the same problem:

    https://forum.unity.com/threads/cannot-open-project-with-hub-it-says-unity-is-already-in-list.787484/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.