Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0b2
Issue ID
1090268
Regression
Yes
Unity does not support a "," in the path of the project folder
If the user creates his Unity project under a folder that contains a "," Unity console will generate 'System.IO.DirectoryNotFoundException: Could not find a part of the path' error messages.
1. Create a folder and rename it to contain a ","
2. Open Unity, create a new project and nest in the previously create folder
3. Notice errors.
N.B.: My folder, for reference, is called: I'm SPECIAL, I have characters (☆ミ) and emoticons (😇)
System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/pedroa/Desktop/UnityFolder/I'm SPECIAL'.
at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000f7] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) [0x00006] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () [0x00054] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.IO.FileSystemEnumerableIterator`1[TSource]..ctor (System.String path, System.String originalUserPath, System.String searchPattern, System.IO.SearchOption searchOption, System.IO.SearchResultHandler`1[TSource] resultHandler, System.Boolean checkHost) [0x000d6] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.IO.FileSystemEnumerableFactory.CreateFileNameIterator (System.String path, System.String originalUserPath, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) [0x00009] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.IO.Directory.InternalGetFileDirectoryNames (System.String path, System.String userPathOriginal, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) [0x00000] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.IO.Directory.InternalGetDirectories (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00000] in <ac823e2bb42b41bda67924a45a0173c3>:0
at System.IO.Directory.GetDirectories (System.String path) [0x0000e] in <ac823e2bb42b41bda67924a45a0173c3>:0
at AssemblyUpdater.Core.AssemblyUpdaterContext.CollectDirectoriesRecursively (System.Collections.Generic.List`1[T] result, System.String path) [0x00002] in <9140747cb854421082fdf4e18532adb9>:0
at AssemblyUpdater.Core.AssemblyUpdaterContext.ExpandSearchPaths (System.Collections.Generic.IEnumerable`1[T] searchPaths) [0x00052] in <9140747cb854421082fdf4e18532adb9>:0
at AssemblyUpdater.Core.AssemblyUpdaterContext.ReadAssembly (System.String assemblyPath, APIUpdater.Framework.Log.IAPIUpdaterListener listener, System.IO.FileAccess mode, System.String[] searchPaths) [0x00014] in <9140747cb854421082fdf4e18532adb9>:0
at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, APIUpdater.Framework.Configuration.IConfigurationProvider configuration, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x0002b] in <9140747cb854421082fdf4e18532adb9>:0
at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x00001] in <9140747cb854421082fdf4e18532adb9>:0
at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config, APIUpdater.Framework.Log.ConsoleUpdateListener logger) [0x0000d] in <9140747cb854421082fdf4e18532adb9>:0
at AssemblyUpdater.Application.Program.Main (System.String[] args) [0x00057] in <9140747cb854421082fdf4e18532adb9>:0
UnityEditor.Scripting.APIUpdaterAssemblyHelper:DoesAssemblyRequireUpgrade(String)
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note:
low priority defects for the moment and unlikely to be fixed for the moment. it's staying in our DB.