clear dependency cache for max projects?


    May 16 2017 | 4:00 pm
    Dear all,
    I am sharing a max project between max and windows and facing an annoying issue: after saving the project and patches in windows, the patches contain a reference to several mxe64 externals in the "dependency_cache" section. Those are called by the project when it's opened again.
    Now when I open the same project in Mac, it still refers to the mxe64 externals (in section "other"), which has the effect to hide the reference to the correct Mac externals (mxo) when I open the patches.
    Until know, the only solution I found is to open every patch as a text file and clear the reference "dependency_cache". As I have more than 30 patches in my project, and as I have to switch constantly between windows and mac, this is somehow a pain.
    Is there a more elegant solution, like automatically clearing all the dependency caches of all patches of a project, or not taking the dependency cache in account when opening a project?
    All the best,
    Alexis

    • Hi Alexis,
      I can't seem to repro. Could you send an email to support at cycling 74 dot com with an example Project so that we can try and reproduce here?
      You can also try and 'consolidate' the Project by going to the Project window's lower toolbar, and click on Manage Project->Consolidate.
      Thanks, -Ben
      May 16 2017 | 7:09 pm
    • This is an issue, especially when developing max objects. A external is copied into the cache and referenced from there. If you create a new frozen amxd, it can happen that it still uses the old version of your external. So far the only solutions are afaik:
      - use the developer path only and don't freeze
      - clear the cache manually
      May 16 2017 | 10:26 pm
    • Sounds like something that is both undesirable and potentially solvable, so if we can get some more information on this in Support, that would be incredibly helpful. Thanks!
      -Ben
      May 16 2017 | 10:29 pm
    • Dear all,
      I tried to reproduce the problem yesterday but of course it did not happen again: I reopened the project in windows, worked on it, and then opened it in Mac: the mxe64 externals are still mentionned in the cache (as "other"), but did not create conflicts with the mxo as it did before. I tried the same on a brand new project and it was the same, no conflict. As soon as I can reproduce it I'll let you know.
      However, I was wondering why the 3rd party externals have to appear in the dependency cache, actually. If they are in one of the paths (project directory or extra user paths), they will be found anyway.
      @Kleine: by "clear the cache manually", you mean edit the max patches as text and remove the "dependency_cache" entry, or do you have a better solution?
      Best
      Alexis
      May 17 2017 | 7:05 am
    • I removed the temp items from the application support / cycling74 folder manually before opening a new version - but i don't recommend this procedure...
      May 17 2017 | 7:33 am