I was testing exporting a library but once I loaded a preset in HALion Sonic SE I’d immediately get a script error.
I’ve narrowed the issue down to the addLayerPassword function in the scripts. All of my script modules are protected using the addLayerPassword function at the top of the script. The password is the same as the password I used to protect the layer. To troubleshoot, I got rid of all other code except for the addLayerPassword. I noticed I only received the error if the scripts were external and not internally loading from the preset. If I implemented the script internally I no longer received any script error in HALion Sonic SE.
I’ve been using ZeroBrane to script but I can’t imagine that would be causing any problems since that is just being used to write the code. From other threads I’ve read on here and the manual it seems like all of this should work fine. I’m on the most recent versions of HALion 6 and HALion Sonic SE.
Any ideas what could be happening or how I could troubleshoot?