+1
Planned

Option to override the default location for Generated and ProjectSettings files

SimonFireproof 3 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 4

We pull in Bolt from a separate "3rdParty" SVN repository so we can include it in multiple projects without duplication. However, the ProjectSettings.asset files as well as the UnitOptions.db and Variables all get automatically created inside the Ludiq directory. This means we have these project specific files in the shared repository and we can't check them in.

Please provide a way to override the default location for these files.

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Planned

Hi Simon!

So this is actually an issue we just ran into internally while prepping demo projects for the new learning hub. I'll be posting a *.gitignore template in the manual today; I'm not sure how SVN works with ignore files, but it should be a similar idea.

I'm also starting design work on Bolt 2, and I am considering a folder structure change that would put everything generated in a single folder, and everything transient (e.g. that can safely be deleted/ignored and regenerated) in another folder (or subfolder).

Yes you can ignore files in SVN too which I've done. It would be nice to be able to check in the UnitOptions.db file though. We're not planning to use the global variables so that's not a big deal.

Hi again!

So the Manual now has a page on Version Control:

https://ludiq.io/bolt/manual/advanced/version-control

The folder structure change will not happen until Bolt 2 however.

I'm guessing Bolt 2 is months away?