Creating a custom preset save button
-
Created a new project but I'm still getting the same crash and error as before. I'm on a Mac if that makes any difference.
HiseSnippet 1636.3ocsXssaSbDFd1jr.6RoTj5M8tEe0ZTjiMgbhnVbbRbIhjfab.ZETgFu6r1iX8LVyNaNHHRz2.dD5qPun20K3onOG8lpdI8e1Y8dvwoPiZWEkn4+32+27OmRGA2iDEwEHC6COcDAY7YlcOkIGr4.Lkg1YKjwWYdHIR5zQPhHRmt3iHNshkRNC05zQ3nHhOxvX1uUYtg0bnju+3AsvgXlGIWDB8TN0irKcHUlKsSyGQCCai8IGRGVv560bGONaSdHOFf1rl0QivduB2mrOVY1LlnGhiFfLtiYuFd0IK1yCi6gWir5pK06dqtxZXRC+FqrzxqsT805s7RqrrGx3Ja6SkbQWIVRhPFy0h6eZ2A7iY5D7TZDsWHQMnApKjYs317PeUIpjh1b.MzuyXNKBAQoSNCNqlA+Ry8n9zL44L4WjnvI2ihDnwLkg2rkfWihvqdA3MEHYT.RyogzsL65Inij4ZT345l6vjDQ.FlmJBEssnYdmo4lbvBlr1P7qHsEvfLObWtd84cfeUccaaaAouiWrP.1paT.gKrfyShHhwcNODy7CIBaaXhE5mhGMv4qc1l0mxH07DDnpUVqMN0VWUrACqAh5vijahCC6A8AtAwLOIkybGkXdaZHop8qcrcrrJgBHC4Vrtksk0t8B0pTwzshjbhrx7ELplj2UJnr9EBcs84aeBPCQPFqVccGG6yRJZUEtKtGILsDSqrivBmrz.HXLG1mH2jObDmACbqjYQEHVSGUUpjjlEVnmj4DoV3owjMkEBrlyXVvgyZIYpUl5fnRnfG55MNayCXJLVQQ1Vz.G2zQVpXtYQ9BHbKK6yfrNcPWJMUpVKOYYSMSGKU08CPgjRUobUlfx7zFggYYMxsRlUu3E9IbR.W33dhCkkG.nbNY53IyjbrXYq9A.T6TJL5bbptkbLsnXNUqP2Sijjg05I3GGQbKHA.cxNEhhByanipNuiTDSfI06TSOKBSvYswA.5gLbtl2fjd1zEIpYq7HB9r9E1OGj2FGLY2qsEz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dQ5K87JGpy43curNt3k0w6cYcboKqiKeYcbkKqiq9wcT8OLXiXIendYCBsWmsSN1yvXal5xLIcqn+F8iiJVC
-
It's not crashing here, which commit of HISE are you using? Is it crashing in HISE or just the compiled project?
-
@Tangerine_Sounds Snippet works here.
-
@d-healey said in Creating a custom preset save button:
It's not crashing here, which commit of HISE are you using? Is it crashing in HISE or just the compiled project?
I'm using the latest Develop Branch. It's crashing HISE completely so I have to rebuild it in XCode
-
@Tangerine_Sounds said in Creating a custom preset save button:
It's crashing HISE completely so I have to rebuild it in XCode
The snippet you shared above is crashing in a fresh project?
-
@d-healey yes it is
-
@Tangerine_Sounds Can you test on another system?
-
@d-healey will try my old Mac mini tomorrow
-
@d-healey I’m still having the same issue on my Mac mini.
It’s not a huge issue. I can leave the button in my project and just not use it during development and testing. I can still save presets in the browser at least
-
@Tangerine_Sounds Can you make a video? I want to see it in action. @Chazrox Were you testing on Windows or Mac?
-
@d-healey Mac / Sequoia 15.2
git hash: 22fc80083350aa3daa41e39ef6fc5090db505056
-
-
@Chazrox I think that's left over from his main project - the reason it doesn't give an error is because there is no component called "btnPreset" in the snippet.
-
@d-healey said in Creating a custom preset save button:
Can you make a video? I want to see it in action.
-
@d-healey said in Creating a custom preset save button:
I think that's left over from his main project
Yes, that was copied over by mistake. My original project had the Next and Previous preset buttons
-
@Tangerine_Sounds Does it only happen with overwrite existing preset or with a new preset too? (I only tested with a new preset).
-
@d-healey I've tested both ways and it crashes just the same
-
@Tangerine_Sounds Do you always use a debug build running in xcode? That doesn't look like a crash, it's just hitting the assert but you should be able to continue.
-
@d-healey I didn't know there was another way. You're right, I am able to select Continue from the Xcode Debug menu. How can I build without the debug mode?
-
@Tangerine_Sounds Select build for profiling from the build menu, then you will find the executable in the HISE source code folder, somewhere in
projects/standalone/Builds/MacOSX
, I can't remember the full path.