Global veriables

hello,
i have an experiment using the keyboard component and i defined global veriables at the begin experiment tab to set the allowed keys for my keyboard. all of these worked totally fine but when i moved the experiment to another computer the keyboard doesnt load the ‘allowed_key’ veriable as before. it looks like there is a somekind of hash table called global and now the keyboard component is trying to look for the ‘allowed_key’ key in the ‘global’ hash table, instead of using the veriable i defined. is someone encounter something like this ? can it be a gap between versions ? im using 2024.1.4 and 2024.1.5.

thank you

I would try moving the code to the “before experiment” tab to be 100% sure it’s being treated as a global variable. How are you referencing it in your code exactly?