I have a trial that branches. In the branched ‘instructions’ routine i have inserted a ‘Resource Manager’ component and a custom ‘Code’ component as instructed in the “Specify the files to download at the start” documentation page.
But when i run the experiment online, everything works fine until i get to the trial branch. There, i get the following message:
when preparing resources for experiment: testXP_3_14
resources should be either (a) a string or (b) an array of string or objects
Interestingly, i use the same format as i do to initiate the ‘additional resources’ in the Properties>Online tab (which works great):
I did find a work-around, but it has been a while and i don’t remember exactly what it was. Once i get my old computer up and running i will have a look.
Hi @wakecarter, could you specify where you would use that code component: in every routine that uses resources that were downloaded by the resource manager? And there would you write the code in the “begin routine” tab or in another? I have the same error message as above described, so thank you very much!
hello, @trevcaru, @ann and @wakecarter, I am having the same issue. Would you be able to help me with how to solve the issue if you managed to find a solution? Thanks!