Search Unity

Unity's version control component has been upgraded to Plastic SCM.

[Solved] BuildInfo.txt

Discussion in 'Unity Collaborate' started by JohnRossitter, Mar 10, 2017.

  1. JohnRossitter

    JohnRossitter

    Joined:
    Dec 18, 2013
    Posts:
    1,027
    This file!!!!!
    Can we put this on the gitignore list?
    Collaborate constantly says that I have conflicts and I never do, but this file!!!!!!!
     
  2. Ryan-Unity

    Ryan-Unity

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @JohnRossitter! In 5.6, you can add this file in your .collabignore file which should ignore this file.
     
    navehohana, alberto5 and azinicus like this.
  3. Jakems

    Jakems

    Joined:
    Nov 23, 2017
    Posts:
    6
    Hi, I put
    [Aa]ssets/StreamingAssets/build_info
    in my .gitignore and in my .collabignore but git still detects changes to it everytime...
     
  4. Ryan-Unity

    Ryan-Unity

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @Jakems, could you show me the ignore rule for the build_info file? Is it a text file or some other kind of file?
     
  5. Jakems

    Jakems

    Joined:
    Nov 23, 2017
    Posts:
    6
    @Ry The file is located at Assets/StreamingAssets/build_info and it has no ending like .txt.
    The rule in the gitignore (located in the Project Root Folder) is "Assets/StreamingAssets/build_info"
     
  6. Ryan-Unity

    Ryan-Unity

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Try moving the build_info file out of your Project, publishing the "delete" of the file in Collab, then add the file back into your Project. If the ignore rule is working then you shouldn't see the build_info file listed in the Collab Toolbar when you add it back to your Project.
     
    navehohana likes this.
  7. Jakems

    Jakems

    Joined:
    Nov 23, 2017
    Posts:
    6
    That worked, thanks!
     
    Ryan-Unity likes this.
  8. avinash213

    avinash213

    Joined:
    Dec 4, 2018
    Posts:
    5
    @ryanc-unity Can you tell me if there is a way to stop auto-generating this build_info file?
     
    Last edited: Oct 19, 2021