Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2.4.2

Issue ID

HUBX-532

Regression

No

Unity Hub bug reporter gets stuck in an infinite loop when there is a folder in the Hub logs directory

Package: HUBX

-

How to reproduce:
1. Go to the "C:\\Users\\%username%\\AppData\\Roaming\\UnityHub\\logs" directory
2. Create an empty folder in that directory
3. Open Unity Hub
4. Click on the profile Icon -> Troubleshooting -> Report a bug
5. Fill in the field and send the bug

Expected results: the bug report is sent successfully
Actual results: the bug reporter gets stuck in an infinite loop

Reproducible with: Hub 2.4.2

Notes:
-The error message that gets logged when the issue occurs:
\{"level":"error","message":"Unhandled promise rejection, reason: not a file: C:\\\\Users\\\\Augustinas Simkus\\\\AppData\\\\Roaming\\\\UnityHub\\\\logs\\\\Subdirectory\\n\\tstack Error: not a file: C:\\\\Users\\\\Augustinas Simkus\\\\AppData\\\\Roaming\\\\UnityHub\\\\logs\\\\Subdirectory\\n at C:\\\\Program Files\\\\Unity Hub\\\\resources\\\\app.asar\\\\node_modules\\\\yazl\\\\index.js:31:52\\n at FSReqCallback.oncomplete (fs.js:164:5)","timestamp":"2021-03-02T08:42:26.095Z"}

  1. Resolution Note:

    There are no fixes planned for this Bug

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.