Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.2.X, 2021.1.X

Votes

1

Found in

2019.4.13f1

2020.1.10f1

2020.2.0b8

2021.1.0a1

Issue ID

1295543

Regression

Yes

Missing `localhost` in the `hosts` file configuration could cause the Unity Package Manager server to fail to start

Packman

-

Reproduction steps:

1. Remove/comment out on the host file the line 127.0.0.1 localhost
2. Open Unity Hub and open/create a project

Expected Result: The Project launches
Actual Result: Unity is unable to open the project showing an error that indicates it could not establish a connection with the Unity Package Manager server.

Reproduced: when host file misses the configuration that maps localhost to 127.0.0.1

Workaround: Add to the machine host file the mapping: 127.0.0.1 localhosts

Tutorial on how to edit the host file per platform:
https://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/

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.