Warning - Snippet Browser overwriting the current project
-
@Christoph-Hart Got a very bad one
When working on a graph and using a Snippet Browser SNEX example at the same time, My project's graph has been entirely replaced with the opened snippet after a crash. It seems the separation between the two is far from ideal.
The rest is in place (UI, SNEX scripts, etc...) But the graph XML is gone and replaced with the one from the example snippet.The names of the project scriptFX and snippet scriptFX modules were not the same
Folks, although this might be a rare issue, be careful and commit on git before playing with fire!
-
Also it seems the autosaved .hip files have been overwritten by the Snippet Browser making the recovery impossible. I can't be 100% sure, but if this is the case, well, this shouldn't be the case
-
@ustk Thanks for the warning!
-
It seems the separation between the two is far from ideal.
Yeah, what makes this a bit difficult is that the snippet browser has to run a separate instance but uses the same current project so you end up with some bad glitches that we have to iron out over time.
So just to collect what's currently the problem:
- autosaves being overwritten (can be mitigated by deactivating the autosaver in the snippet browser instance)
- embedded networks being saved somehow overwrite the real project networks. Can you boil that down to a specific list of steps / conditions?
-
- I can confirm the autosave issue (it is showing in both Consoles, project and snippet)
- For the project being overwritten I will try to reproduce it
-
@Christoph-Hart It strikes again
So the order of event was:
- open an EMPTY project I use when I don't want my main project to be affected by exactly this problem...
- from the wizard I selected Browse Example Project, and opened SNEX One pole filter
- after that I closed the example browser, back to my EMPTY project.
- I switched the current project to my main one (LAB), opened the scriptFX graph
- BOOM! Now the graph from the SNEX One pole filter replaces the LAB graph
So in the end, even switching the project after closing the snippet browser did overwrite the newly opened project
-
@Christoph-Hart Weirder and weirder!
Now I got an interesting one, without the snippet browser (just stock Hise):
- I opened Hise with SECONDARY project
- Then loaded MAIN project, open XML, and start working on Graph/SNEX
- Got a hard crash after compiling in SNEX (if it can be important)
- Re-open Hise with MAIN project, open the Graph
- BOOM!!! It's been replaced by SECONDARY Graph!
Like SECONDARY was still in memory before the crash.
I am only talking about opening project'sXML
here, I never use.hip
, so it cannot be an "automatically saved preset thingy"...What is strange is that it seems I am the only one to get this strange issues