Use preferences to set the save path

Issue #31 resolved
Matt D created an issue

If you move the AGBT folder from anywhere other than Assets/, it causes all kinds of issues. Why not allow paths to be set for objects like settings and the cache?

Comments (14)

  1. Sam Narain

    Most packages from Asset Store also install themselves at the root. I do prefer the same though. I think @homae is already working on a preference panel.

  2. Hiroki Omae

    I think the key issue proposed here is to make ABGT relocatable inside project, rather than making it configurable via preference.

  3. Sam Narain

    @homae absolutely right, that would be the more viable solution. However, the idea of setting specific folders for example temp/cache might be extremely useful when using ephemeral filesystems. But moving ABGT without breaking things would be the best general purpose solution.

  4. Matt D reporter

    I agree with @samnarain I think that the AGBT cache stuff should be done inside the Temp/ or the Library/ folders. But the idea of being able to move AGBT around is the best solution.

  5. Hiroki Omae

    I see. Build cache of AssetBundles can be replaced and set via Preferences, and it probably should - just like other cache settings in Preferences (GI, etc)

    Contrary to that, files such as Saved ImportSettings, Saved Built Prefabs need to live under Assets/ folder - this is by design - so they can be as portable as ABGT root folder.

    So I think the rational feature proposal here is as following:

    1. Make AssetBundleGraph directory relocatable inside project.
    2. Make Asset Bundle Build Cache configurable via Preferences.
  6. Matt D reporter

    @homae Any chance of an update on this? We've added Assets/AssetBundleGraphTool/Cache to our .gitignore but just wondering if you can have it in the Library or Temp directories? Also wondering if moving it around within the asset directory is supported yet?

  7. Hiroki Omae

    @DWSMatt No update yet. I will do this after 1.2 release. Code-wise I think 1.2 is pretty stable already, but I am working on documentation now which takes quite some time. 1.2 has so many changes I feel it is mandatory that I have to redo all documentations. I will make some update once I am on it.

  8. Hiroki Omae

    Resolved in dev branch. Now You can move GraphTool location freely, and there is ProjectWindow you can open and configure AssetBundle build cache directory. This will be part of 1.3.

  9. Log in to comment