Search Issue Tracker
Not Reproducible
Votes
1
Found in
Issue ID
764857
Regression
No
UNC AppData(Roaming) directory cannot be accessed
What happens:
Unity.exe cannot boot in a particular environment.
Details:
When Unity.exe runs, it creates or accesses the Roaming folder like
C:\Users\USER_NAME\AppData\Roaming\Unity
but it cannot be accessed in some environment.
Using Active Directory and folder redirection, that Roaming folder path comes to UNC like
\\fileserver\s\users\USER_NAME\AppData\Roaming\Unity
so that the cmd.exe (bat file) can never access it while booting Unity.exe.
This may happen mostly educational facilities.
Comments (450)
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
- “Label” name in Sprite Library Editor window lacks character limit causing long names go under the Object Field
- Preview image (screenshot) is not available after capturing snapshot in Memory Profiler
- Crash on UNITY_FT_Stream_ReadAt when changing TMPro properties after unloading an AssetBundle
- Particles spawn at the same position when using raw byte address buffer in VFX Graph
- Decal Shader Graph - Custom vertex interpolators are always 0
woconnor
Mar 15, 2018 11:14
I have a similar issue with building for visual studio with latest version. The above fixes don’t work though.. seems t o be an issue with the %appdata%\locallow.. the files get created in the folder but appears not to be read later!
sugo78
Jul 01, 2016 00:08
This problem seems NOT to be fixed, not even in the newest version 5.3.5f1
When Appdata\Roaming is redirected to a UNC path, Unity cannot start properly and when the "Welcome to Unity" / "Sign into..." dialog should appear, the dialog box remains dark grey and empty insted. With a user w/o a redirected Appdata folder, Unity works fine on the same machine.
I used the Sysinternals Process Monitor tool to confirm that Unity.exe tries to access the redirected Appdata folder w/o success.
I can confirm that Appdata folder redirection is very often used in educational facilities. Disabling it is usually not an option. If Unity does not work properly in many edu environments, I'm sure that many potential future customers are lost.
software-unilogic
Mar 25, 2016 10:40
Also note: I ran in to this this issue with 5.3.4f1 installed so the issue seems to have regressed
software-unilogic
Mar 25, 2016 10:38
you can circumvent this issue by:
first mapping the networked home dir to a driverletter
(i.e. "net use k: \\fileserver\users\USER_NAME" )
then setting
"HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\AppData" to "K:\Appdata\Roaming"
NOTE: you need to change the registry setting, changing the %APPDATA% environment variable in a shell and then starting unity from that shell did not work