# Source Project path directory separator on Windows different to Mac

**URL:** <https://qa.fmod.com/t/source-project-path-directory-separator-on-windows-different-to-mac/13118>\
**Category:** Unity\
**Created:** [April 19, 2017, 11:48am UTC](https://qa.fmod.com/t/source-project-path-directory-separator-on-windows-different-to-mac/13118 "2017-04-19T11:48:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohannesD](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@JohannesD](https://qa.fmod.com/u/JohannesD)\
**Post date:** [April 19, 2017, 11:48am UTC](https://qa.fmod.com/t/source-project-path-directory-separator-on-windows-different-to-mac/13118/1 "2017-04-19T11:48:10Z")

</div>

Are any of you developing on Windows and Mac? I noticed, that the serialized project path has to have the correct [directory separator character](https://docs.unity3d.com/ScriptReference/Path.DirectorySeparatorChar.html).  
I was kind of irritated that nobody else posted any problems, but if others got the problem as well, I just want to offer my solution. I changed the Settings and SettingsEditor file a bit, so git won’t have problems with changing paths and the path path will still work on all platforms. If the separator differs from the one that is saved in the settings, a readonly field will appear in the settings showing the path that will be used. You can download my fix here: [https://github.com/JohannesDeml/FmodDirectoryPathSeparator/releases/tag/v0.1](https://github.com/JohannesDeml/FmodDirectoryPathSeparator/releases/tag/v0.1)  
This is for version 1.09.04, but I guess this will also work for other versions 🙂

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [April 20, 2017, 5:06am UTC](https://qa.fmod.com/t/source-project-path-directory-separator-on-windows-different-to-mac/13118/2 "2017-04-20T05:06:42Z")

</div>

Thanks for spotting this bug!  
It does seem odd that it hasn’t been brought up before.  
We will put out a fix in a future release.

---

<div class="post-metadata">

**Author:** ![JohannesD](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@JohannesD](https://qa.fmod.com/u/JohannesD)\
**Post date:** [April 20, 2017, 10:18am UTC](https://qa.fmod.com/t/source-project-path-directory-separator-on-windows-different-to-mac/13118/3 "2017-04-20T10:18:49Z")

</div>

> [@](#):
>
> Thanks for spotting this bug!  
> It does seem odd that it hasn’t been brought up before.  
> We will put out a fix in a future release.

Hey there,

I did a quick check, and noticed that my solution didn’t work for the bank path as I wanted it to work. I did a quick refactoring, here is the new version: [Release Fmod Source Path fix v0.1 · JohannesDeml/FmodDirectoryPathSeparator · GitHub](https://github.com/JohannesDeml/FmodDirectoryPathSeparator/releases/tag/v0.1)

Hope that helps 🙂

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [April 21, 2017, 5:45am UTC](https://qa.fmod.com/t/source-project-path-directory-separator-on-windows-different-to-mac/13118/4 "2017-04-21T05:45:49Z")

</div>

Thanks, that’s great!  
Hoping to have it out in a release soon.
