Search Issue Tracker




Found in

Issue ID




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



{"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 (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

- 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

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 (12)

  1. Empirics

    Dec 15, 2019 04:28

    can't open project on work :(

  2. rricamar

    Dec 10, 2019 18:01

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

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.