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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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