Skip to main content
2 of 5
added 447 characters in body
Aggressor
  • 13.5k
  • 24
  • 108
  • 185

Files Not Appearing In Version Control: Unity + Git

I have a Unity project and I've set it up to use Git.

However its only been kind of working. Its seeing some files and folders and committing them. But then its ignoring other files entirely.

For example, I have a ScriptableObjects folder. Any item I add in this folder NEVER appears in my version control as a new/changed file.

Other folders do work, but nothing in this subfolder.

This folder is not ignored in my .ignore.

I have also changed Unity to show Visible Meta Files for version control.

Its impossible for a new file to be un-tracked, and the folder its created it is not ignored.

I have never seen an issue like this before with version control. Do you have any ideas why my new files are not appearing in version control for some folders?

My ignore

Library/
Temp/
Obj/
Build/

# Autogenerated VS/MD solution and project files
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.csv#
*.*.csv#


# Unity3D generated meta files


# Unity3D Generated File On Crash Reports
sysinfo.txt

# Builds
*.apk
*.unitypackage
Aggressor
  • 13.5k
  • 24
  • 108
  • 185