I’ve just added the following to the unknown resources error section of my crib sheet:
PsychoPy should automatically detect and add resources which are hard coded (explicitly named) in your image/video/sound/form components and loops but will not know about resources which are set via variables.