The Death Crash || Prevention?
-
@Chazrox If you'd pressed F5 even once and saved your project then the script shouldn't have been wiped. Sounds like a bug, if you can find a way to reproduce it that would be helpful.
-
@d-healey I did save an .xml and even tho I made multiple changes and saves to that file and pressed F5 a bunch of times. It just decided to do that. The saved .xml file is in fact wiped.
its a habbit to cmd+s, AND cmd+shift+s after every change.
-
@Chazrox said in The Death Crash || Prevention?:
The saved .xml file is in fact wiped.
The project xml is wiped and the script file is wiped?
-
@d-healey the .xml file is still there and shows in my saved menu but when I open the .xml file in a text editor its empty.
-
@Chazrox said in The Death Crash || Prevention?:
the .xml file is still there and shows in my saved menu
There are two xml files, one for the UI data and one for the module tree. When you say it's empty, do you mean it's a completely empty file?
What about the script file?
-
The files I checked were in these directories:
Project Folder/ Presets/ Project.hip
Project Folder/ XMLPresetBackups / project.xml
Project Folder/ Scripts / ScriptProcessors / project.xmlthe script looks like this in those files:
include("SliderPackPRINTERbyRGLIDES.js"); function onNoteOn() { } function onNoteOff() { } function onController() { } function onTimer() { } function onControl(number, value) { }
the include.js here is also wiped.
No shade on @rglides because he gave me a working script so we're clear. lol. I was tinkering.
-
@Chazrox said in The Death Crash || Prevention?:
Project Folder/ Scripts / ScriptProcessors / project.xml
There shouldn't be an xml in the Scripts folder.
-
@d-healey sorry thats a .js file. Its still Empty. Everything with the project name on it is reset to default.
-
Ok so it looks like there is a critical bug here. Are you able to recreate the crash?
-
@d-healey super critical. Good thing I back up the entire project folder after ever new function added. I'll lose a few hours of work at most. I'll see about recreating that.