Search Issue Tracker

Won't Fix

Votes

2

Found in

5.5.0b9

Issue ID

847162

Regression

No

Cache Server is not working in local mode if the path name has spaces in it

Version Control

-

STR:
1. Open provided project
2. Open Unity Preferences and switch to "Cache Server" tab
3. Set 'Cache Server Mode' to 'Local'
4. Select a custom cache location so that the path would have whitespaces in it
5. Back in Unity, reimport Assets/Texture_01.png
6. Check the console

Console throws these errors:

Socket: connect failed, error: No connection could be made because the target machine actively refused it. (0)
connect failed
Couldn't connect to Cache Server.
Unable to connect to host localhost:5511.

Workaround:
Download Cache server files as instructed under "How to set up a Cache Server (admin)" in https://docs.unity3d.com/Manual/CacheServer.html
Run the file according to your OS with arguments --path (path provided in Unity preferences) and --port (port shown in console errors)

Reproduced on: 5.5.0b9, 5.5.0b10, 5.6.0a1

Comments (6)

  1. gamenastics

    Nov 07, 2017 21:45

    I am on a windows machine, and always had the same connection error. Then i tried to put the Server cachefolder on the root of a drive with a folder name without spaces (i.e. D:\cacheserver). Then the error was gone. In first place i thought it was a coincidence. So second time i put a space between the folder name after restart the error came back, removing the space in the name and restarting resolved the problem for me.

    so when i looked to the default cache folder, that is in the usersprofile, that one contains space, i think thats why the error is trown. not sure but for me my workaround works. hope someone find it usefull.

  2. Dill0wn

    Oct 11, 2017 14:06

    Still busted for me too in 2017.1.1f1

  3. JohnHacker

    Oct 09, 2017 18:28

    This is not fixed in 5.6.3.f1

  4. HarryCodder

    Dec 30, 2016 09:43

    Not that it matters but I can confirm this is not fixed in 5.5.0p3 (W10)

  5. SugoiDev

    Dec 21, 2016 03:14

    Still happening on 5.5.0p2 on Windows 10.

  6. pixelsplit

    Dec 10, 2016 11:57

    For us this still happens in 5.5f3

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.