title: Files Not Appearing In Version Control: Unity + Git
body: <p>I have a Unity project and I've set it up to use Git.</p>
  
  <p>However its only been kind of working. Its seeing some files and folders and committing them. But then its ignoring other files entirely.</p>
  
  <p>For example, I have a <code>ScriptableObjects</code> folder. Any item I add in this folder NEVER appears in my version control as a new/changed file.</p>
  
  <p>Other folders do work, but nothing in this subfolder.</p>
  
  <p>This folder is not ignored in my <code>.ignore</code>.</p>
  
  <p>I have also changed Unity to show <code>Visible Meta Files</code> for version control.</p>
  
  <p>Its impossible for a new file to be un-tracked, and the folder its created it is not ignored.</p>
  
  <p>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?</p>
  
  <p>My ignore</p>
  
  <pre><code>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
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>Running the git ignore check on a new file produces the following</p>
  
  <blockquote>
    <p>$ git check-ignore -v --
    /c/Users/a/Desktop/proj/Assets/Resources/ScriptableObjects/Cards/Helmets/NewFile.asset
    "C:\Users\a\OneDrive\Documents\gitignore_global.txt":25:Assets/Resources/ScriptableObjects/
    C:/Users/antho/Desktop/proj/Assets/Resources/ScriptableObjects/Cards/Helmets/NewFile.asset</p>
  </blockquote>