I have some plugin code that’s showing odd behavior.
I’m passing an array of structs into my plugin from Xojo. It worked perfectly on an older Intel iMac. However, when I tested the same exact code this morning on an M1, the result was an OutOfBounds exception.
Assuming it was something I overlooked I inserted all sorts of debugging code only to find that the function in question wasn’t even being entered. Xojo is simply gagging before it even gets to my function. This is all in the debugger, BTW. If I continue after the exception, the app crashes just where it calls the function in question.
Even more interesting - if I build the app it does not crash on the M1. It simply ‘skips’ my function entirely. Everything else works fine, but my function seems to never be called. HOWEVER, if I tell the same app to run in Rosetta, everything works perfectly. My function does its job, and all is well.
I’m left to conclude that whatever this is, it’s outside my control. Are there any known issues like this for M1 plugins?
Xojo version is 24.2.1.63299 on Ventura 13.6.9.
Also, please refrain from using this thread as advertising to sell plugins. I’m here to learn, not to consume. Thanks.