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>"
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
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
bome99
Aug 08, 2022 16:14
still an issue
Pawciu
Mar 25, 2021 22:18
Still not working
Lylek
Feb 09, 2021 19:20
Issue still persists. Hub 2.4.2. Disabling my recently enabled ethernet cable prompted the hub to request that I reactivate my license, which solved the issue.
vpsdss
Aug 12, 2020 09:36
Not working(
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 ?
Akamis
Jun 16, 2020 12:38
It's not fixed !!
I continue to have this issue.
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
eric-taylor
Apr 26, 2020 16:17
Still experiencing this issue as well.
kodogijo
Apr 21, 2020 06:32
Fixed?
Still not working with unity hub 2.3.0 and Unity 2019.3.10f1
eniliosarcos
Mar 18, 2020 14:40
same here. unity hub 2.3.0 and Unity 2019.3.0f6