Unity SourceControl Error


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

/[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

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 section of your FMOD for Unity settings?

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

Happy to hear you found a solution!

1 Like