Skip to content

If Japanese characters are included in the filename, an error "ArgumentException: Illegal characters in path. #16

@creeper-0910

Description

@creeper-0910

If Japanese characters are included in the filename, an error "ArgumentException: Illegal characters in path.

Error log:

ArgumentException: Illegal characters in path.
System.IO.Path.IsPathRooted (System.String path) (at <467a840a914a47078e4ae9b0b1e8779e>:0)
System.IO.Path.InsecureGetFullPath (System.String path) (at <467a840a914a47078e4ae9b0b1e8779e>:0)
System.IO.Path.GetFullPath (System.String path) (at <467a840a914a47078e4ae9b0b1e8779e>:0)
System.IO.FileInfo..ctor (System.String originalPath, System.String fullPath, System.String fileName, System.Boolean isNormalized) (at <467a840a914a47078e4ae9b0b1e8779e>:0)
System.IO.FileInfo..ctor (System.String fileName) (at <467a840a914a47078e4ae9b0b1e8779e>:0)
(wrapper remoting-invoke-with-check) System.IO.FileInfo..ctor(string)
PlanetaGameLabo.UnityGitVersion.Editor.GitOperator+<>c.<GetHashOfChangesFromLastCommit>b__4_2 (System.String u) (at ./Library/PackageCache/com.cdecpgl.git-version@279ec2fbdf/Editor/GitOperator.cs:129)
System.Linq.Utilities+<>c__DisplayClass2_0`3[TSource,TMiddle,TResult].<CombineSelectors>b__0 (TSource x) (at <53d9c9e3ddfd44bba9f7bd7413478f07>:0)
System.Linq.Enumerable+WhereSelectArrayIterator`2[TSource,TResult].MoveNext () (at <53d9c9e3ddfd44bba9f7bd7413478f07>:0)
System.String.Join (System.String separator, System.Collections.Generic.IEnumerable`1[T] values) (at <467a840a914a47078e4ae9b0b1e8779e>:0)
PlanetaGameLabo.UnityGitVersion.Editor.GitOperator.GetHashOfChangesFromLastCommit (System.Boolean shortVersion) (at ./Library/PackageCache/com.cdecpgl.git-version@279ec2fbdf/Editor/GitOperator.cs:131)
PlanetaGameLabo.UnityGitVersion.Editor.GitVersionOnEditor.GenerateVersionFromGit () (at ./Library/PackageCache/com.cdecpgl.git-version@279ec2fbdf/Editor/GitVersionOnEditor.cs:67)
PlanetaGameLabo.UnityGitVersion.Editor.GitVersionOnEditor.LogVersionString () (at ./Library/PackageCache/com.cdecpgl.git-version@279ec2fbdf/Editor/GitVersionOnEditor.cs:166)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions