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
{"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 (12)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Personal Access Token tooltip can open cut-off/outside of bounds when creating a new project in Unity Hub
- Cancel button for Package's Unsaved Changes Pop up does not prevent the Inspector from closing if it was triggered by entering Play mode
- Audio Source “Reverb Zone Mix” field disappears from Inspector window and errors are spammed in the Console window when entering NaN value
- Audio Source Component accepts NaN value in Volume, Pitch and Stereo Pan fields in Inspector window
- Docked Search window tab title is cut off when searching for free Assets in separate Asset Store Search window
Empirics
Dec 15, 2019 04:28
can't open project on work :(
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/