karasusan / OpenVDBForUnity

Unity plugins for OpenVDB
MIT License
258 stars 39 forks source link

Path.DirectorySeparatorChar returns incorrect character on Windows #10

Closed karasusan closed 5 years ago

karasusan commented 5 years ago

Check this. https://github.com/karasusan/OpenVDBForUnity/issues/1#issuecomment-422611070

Path.DirectorySeparatorChar returns \ on Windows. But Application.dataPath returns the project path with separators is /.

I plan to add UnitTests to avoid these OS-dependent bugs.