# Unity SourceControl Error

**URL:** <https://qa.fmod.com/t/unity-sourcecontrol-error/21442>\
**Category:** Unity\
**Tags:** unity\
**Created:** [April 3, 2024, 9:40am UTC](https://qa.fmod.com/t/unity-sourcecontrol-error/21442 "2024-04-03T09:40:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohjunyoung](https://avatars.discourse-cdn.com/v4/letter/o/a9adbd/32.png) [@ohjunyoung](https://qa.fmod.com/u/ohjunyoung)\
**Post date:** [April 3, 2024, 9:40am UTC](https://qa.fmod.com/t/unity-sourcecontrol-error/21442/1 "2024-04-03T09:40:19Z")

</div>

![error](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/f2d8083d99559b1715bc4f31d9846264ccc9bf4d.png)  
Hi i’m having problem with unity source control. i have no idea what is causing this error. this is .gitignore file i applied

gitignore file :

# This .gitignore file should be placed at the root of your Unity project directory

# 

# Get latest from [gitignore/Unity.gitignore at main · github/gitignore · GitHub](https://github.com/github/gitignore/blob/main/Unity.gitignore)

# 

/[Ll]ibrary/  
/[Tt]emp/  
/[Oo]bj/  
/[Bb]uild/  
/[Bb]uilds/  
/[Ll]ogs/  
/[Uu]ser[Ss]ettings/

# MemoryCaptures can get excessive in size.

# They also could contain extremely sensitive data

/[Mm]emoryCaptures/

# Recordings can get excessive in size

/[Rr]ecordings/

# Uncomment this line if you wish to ignore the asset store tools plugin

# /[Aa]ssets/AssetStoreTools\*

# Autogenerated Jetbrains Rider plugin

/[Aa]ssets/Plugins/Editor/JetBrains\*

# Visual Studio cache directory

.vs/

# Gradle cache directory

.gradle/

# Autogenerated VS/MD/Consulo solution and project files

ExportedObj/  
.consulo/  
\*.csproj  
\*.unityproj  
\*.sln  
\*.suo  
\*.tmp  
\*.user  
\*.userprefs  
\*.pidb  
\*.booproj  
\*.svd  
\*.pdb  
\*.mdb  
\*.opendb  
\*.VC.db

# Unity3D generated meta files

\*.pidb.meta  
\*.pdb.meta  
\*.mdb.meta

# Unity3D generated file on crash reports

sysinfo.txt

# Builds

\*.apk  
\*.aab  
\*.unitypackage  
\*.app

# Crashlytics generated file

crashlytics-build.properties

# Packed Addressables

/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/_/_.bin\*

# Temporary auto-generated Android Assets

/[Aa]ssets/[Ss]treamingAssets/aa.meta  
/[Aa]ssets/[Ss]treamingAssets/aa/\*

# Never ignore DLLs in the FMOD subfolder.

!/[Aa]ssets/Plugins/FMOD/\*\*/lib/\*

# Don’t ignore images and gizmos used by FMOD in the Unity Editor.

!/[Aa]ssets/Gizmos/FMOD/\*  
!/[Aa]ssets/Editor Default Resources/FMOD/\*

# Ignore the Cache folder since it is updated locally.

/[Aa]ssets/Plugins/FMOD/Cache/\*

# Ignore bank files in the StreamingAssets folder.

/[Aa]ssets/StreamingAssets/**/\*.bank  
/[Aa]ssets/StreamingAssets/**/\*.bank.meta

# If the source bank files are kept outside of the StreamingAssets folder then these can be ignored.

# Log files can be ignored.

fmod\_editor.log

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [April 4, 2024, 2:59am UTC](https://qa.fmod.com/t/unity-sourcecontrol-error/21442/2 "2024-04-04T02:59:42Z")

</div>

Hi,

Given that you’re importing banks from `./Assets/_FMODBuild`, it’s likely that source control has potentially interfered with your built banks somehow. Can you confirm that all of your banks are present in the expected import location? I would also recommend rebuilding them locally to ensure that they’re valid, and seeing whether that resolves the issue.

Could I also get your Unity and FMOD for Unity version numbers, and a screenshot of the [Bank Import](https://www.fmod.com/docs/2.02/unity/settings.html#bank-import) section of your FMOD for Unity settings?

---

<div class="post-metadata">

**Author:** ![ohjunyoung](https://avatars.discourse-cdn.com/v4/letter/o/a9adbd/32.png) [@ohjunyoung](https://qa.fmod.com/u/ohjunyoung)\
**Post date:** [April 5, 2024, 2:33am UTC](https://qa.fmod.com/t/unity-sourcecontrol-error/21442/3 "2024-04-05T02:33:50Z")

</div>

I fixed it, it wasn’t Source Control issue. it was causing error because there was no output device detected in FMODunity somehow…

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [April 5, 2024, 3:28am UTC](https://qa.fmod.com/t/unity-sourcecontrol-error/21442/4 "2024-04-05T03:28:01Z")

</div>

Happy to hear you found a solution!
