New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entitas/Generate: 'Path contains invalid chars' on Windows #6
Comments
Thanks! I will try to get a Windows machine to reproduce and work on a fix. |
Hello. var delimiter = new[] { Environment.NewLine }; with var delimiter = Environment.NewLine.ToCharArray(); And also using Environment.NewLine in .Replace methods. Best regards. |
Hi, I set up a windows machine and made some changes. Line endings are now converted before the input string is parsed. I released a new version, which should fix the problem. |
Thanks! |
I can confirm that the update has solved the issue. :) |
Thanks! Work like a charm. ) p.s. i am apologize for late response. (was in vacation without access to PC) |
Windows 8.1
Unity 5.1.0f3
Entitas version 0.17.0 from bin/Entitas.zip
Entitas/Generate from menu throw an exception:
Properties.cs
properties comes in this format:
where delimiters "\n" and "\n", but expected "\r\n" (from Environment.NewLine )
dirty fix that helped
replace
var delimiter = new[] { Environment.NewLine };
to
var delimiter = new[] {"\n", "\\n"};
With default setup
The text was updated successfully, but these errors were encountered: