Errors uploading my experiment to Pavlovia

I have an experiment in which participants view shapes and make categorization decisions using their mouse to click polygon shapes or text components. It works when I run it offline in the builder. But when I upload it to pavlovia I get this error message:

Unfortunately we encountered the following error:

  • when setting the vertices of ShapeStim: Correct_arrow
  • unknown shape: arrow

Try to run the experiment again. If the error persists, contact the experiment designer.

The arrow shape is a set shape in the polygon component so I am not sure why it would be unknown? It also doesn’t seem to be uploading resources like it usually does. The resources bar is already full, whereas usually it shows it updating how many resources have been added. I’m not sure why that it either.

**Edit to add more detail:
To test if it was other code causing the problem, I made an experiment that was just a polygon arrow with nothing else. I received the same error.
So I decided to try using images of arrows instead of the polygon components, and now in the builder I get the error:

File “C:\Users\17703\Documents\DissertationProj2\”, line 552, in
clickableList = environmenttools.getFromNames([Blue_arrow, Red_arrow, Green_arrow], namespace=locals())
NameError: name ‘environmenttools’ is not defined

Again, this is something built into psychopy and not something I have done using custom code. So I do not know what to do to fix it.

I was able to use the png image arrows by changing the psychopy version from 2023.1.2 to 2023.1.0.