Having some trouble after the update with profiles not working on device

Basically, when I have my 256CTRL + midiRX and colors on the new firmware it works in the editor, but give all kinds of errors about my globals not being available when I store to the device and try to use. Something isn’t being initialized in the right order?

I did see another post that looks similar, so maybe this has to do with how timers are being handled now? I’d like to fix my profiles… I was really just trying to make some tweaks and now it’s kinda bricked with my code. I tried removing the timer call in my setup block and didn’t seem to be a quick fix. Any help would be appreciated, or if you have some resources describing what changed, I’m happy to put some elbow grease in. Strange that it works when loaded in the editor, but not when stored to device.

Here is the profile I’m working with, but all of my main ones seem to have this issue while the CTRL64 1.3? seems to work okay.

grid-editor://?config-link=3PyGKV8y4uSZJysv4VUu

Thanks again!

Wait. Found it.

-- System → Setup
for i = 0, #element - 1 do
  element[i]:ini()   -- fire each element's Setup once
end
1 Like

Yup, that’s the one!

Is everything working as it should now?
I think the two things we broke were: MIDIRX and the init structure.

The above code fixes the init structure and the new midirx behavior is described in the docs here: More about: Receiving MIDI | Intech Studio Documentation