# Incorrect line endings in Fmod plugin bundles

**URL:** <https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791>\
**Category:** FMOD Studio\
**Created:** [May 24, 2022, 9:55am UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791 "2022-05-24T09:55:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sronc002](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@sronc002](https://qa.fmod.com/u/sronc002)\
**Post date:** [May 24, 2022, 9:55am UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/1 "2022-05-24T09:55:17Z")

</div>

Hi there!

having this error message come up with my Unity project.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d1ba53c4949e344561ba00baaeaec85e9e592cfc.png)

The devs say they’ve temporarily fixed it by changing the Fmod code but is there a better solution?

Don’t think im using any of these plugins in Fmod studio yet, if that helps to know

thanks in advance!

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [May 29, 2022, 11:34pm UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/2 "2022-05-29T23:34:24Z")

</div>

This isn’t an error, it’s trying to stop the Mac libs getting corrupted- though if it’s popping up every time you open the Editor then something is wrong. I’m guessing your source control keeps switching the line endings in these files. If you are using git then you should be able to work around it by adding a `.gitattributes` file to your project with this line in it `*.bundle text eol=lf`, to ensure that Mac libs always use line feeds.

---

<div class="post-metadata">

**Author:** ![adsanchez](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@adsanchez](https://qa.fmod.com/u/adsanchez)\
**Post date:** [September 1, 2022, 5:36pm UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/3 "2022-09-01T17:36:42Z")

</div>

Hi @jeff_fmod, I’m currently running into this same issue on a project, but we’re using Perforce instead of GitHub. Is there a different solution for those using P4 for source control?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [September 2, 2022, 1:43am UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/4 "2022-09-02T01:43:18Z")

</div>

Hi,

You would have to set up the same file ignore system just with Perforce. How to do that is explained on the perforce website here: [Excluding Files from Helix Server Control](https://www.perforce.com/manuals/p4vs/Content/P4VS/managing.excluding.html).

---

<div class="post-metadata">

**Author:** ![ivyvyx116](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@ivyvyx116](https://qa.fmod.com/u/ivyvyx116)\
**Post date:** [September 8, 2022, 7:53pm UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/5 "2022-09-08T19:53:42Z")

</div>

Hi @Connor_FMOD, thanks for the advice! I’m still slightly confused after adding the `*.bundle text eol=lf` line into the `.p4ignore` file. It doesn’t seem to work the way I was expecting, but just ignoring files with such name, and the perforce website doesn’t really specify that.

Should I be creating another file like `.p4attribute` or sth?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [September 12, 2022, 12:09am UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/6 "2022-09-12T00:09:52Z")

</div>

My apologies, I have pointed you in the wrong direction.

To configure p4v go to `Connection -> Edit Current Workspace` then clicking the `Advanced tab` and changing the value in the `line ending characters for text file` box. More info on the options can be found here: [https://portal.perforce.com/s/article/3096](https://portal.perforce.com/s/article/3096)

Again my apologies for the mistake.

---

<div class="post-metadata">

**Author:** ![ivyvyx116](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@ivyvyx116](https://qa.fmod.com/u/ivyvyx116)\
**Post date:** [September 12, 2022, 1:11am UTC](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/7 "2022-09-12T01:11:09Z")

</div>

Thank you so much for the update! This is super helpful!
