# About make plugin to unity package and modify FMODStudioSettings

**URL:** <https://qa.fmod.com/t/about-make-plugin-to-unity-package-and-modify-fmodstudiosettings/20597>\
**Category:** Unity\
**Tags:** unity, csharp\
**Created:** [August 25, 2023, 11:53am UTC](https://qa.fmod.com/t/about-make-plugin-to-unity-package-and-modify-fmodstudiosettings/20597 "2023-08-25T11:53:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![MisakaCirno](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MisakaCirno](https://qa.fmod.com/u/MisakaCirno)\
**Post date:** [August 29, 2023, 3:09am UTC](https://qa.fmod.com/t/about-make-plugin-to-unity-package-and-modify-fmodstudiosettings/20597/5 "2023-08-29T03:09:43Z")

</div>

Thanks for the reply, I think I need to describe a bit more the results of my current quest.

First is my purpose, I want to convert FMOD into a Unity Package and version control it via Git.

* * *

After following the steps provided in the documentation so far, I was able to successfully make the Unity Package.  
After I uploaded it to Git, I was also able to install it by adding a git URL to UPM.

However, it seems that for Unity, if a Unity Package is installed via a git URL, all of its files will be placed in the `{ProjectName}\Library\PackageCache` directory, and all of the files there will not be editable via the Unity Editor.

I tried ignoring the `Cache` and `Resources` folders and leaving them out of the Unity Package, but this causes Unity to output a lot of Warnings in the Console.

I noticed that you mentioned

> `Cache` and `Resources` will only contain files that are generated locally, depending on the settings in Unity.

But I tried and couldn’t find anything like that, can you provide more information?

* * *

Also, if you add the Unity Package to git, it prompts a message after installation. I found two posts in the forum for the same issue:

1. [Incorrect line endings in Fmod plugin bundles - FMOD Studio - FMOD Forums](https://qa.fmod.com/t/incorrect-line-endings-in-fmod-plugin-bundles/18791/2)
2. [Repair FMOD Libraries warning still keeps showing after click repair button - Unity - FMOD Forums](https://qa.fmod.com/t/repair-fmod-libraries-warning-still-keeps-showing-after-click-repair-button/18213)

I followed the instructions in the posts and added the `.gitattributes` file, but still have the same problem.

I double-checked, through the Unity Console messages, and comparing the folders, and realized that it was not the three folders:

- Packages/{UnityPackageName}/FMOD/platforms/mac/lib/fmodstudio.bundle
- Packages/{UnityPackageName}/FMOD/platforms/mac/lib/fmodstudioL.bundle
- Packages/{UnityPackageName}/FMOD/platforms/mac/lib/resonanceaudio.bundle

Instead, it was the three files:

- Packages/{UnityPackageName}/FMOD/platforms/mac/lib/fmodstudio.bundle/Contents/Info.plist
- Packages/{UnityPackageName}/FMOD/platforms/mac/lib/fmodstudioL.bundle/Contents/Info.plist
- Packages/{UnityPackageName}/FMOD/platforms/mac/lib/resonanceaudio.bundle/Contents/Info.plist

So I changed the contents of the `.gitattributes` file to `*.plist text eol=lf`.

But the problem is still not solved.  
I double-checked the files again and found that the local files were `LF,` uploaded to git and then downloaded were still `LF,` and for some reason installing via UPM made them `CRLF` first (in `{ProjectName}\Library\PackageCache` folder).

So I’m not sure if the problem belongs to FMOD, or Git, or UPM.

* * *

Regardless of the outcome, thanks again for your reply.

---

_[View the full topic](https://qa.fmod.com/t/about-make-plugin-to-unity-package-and-modify-fmodstudiosettings/20597)._
