The UnboundLocalError about Aperture Component

OS (Win10):
PsychoPy version (2022.2.4):
When I run my experiment, there was an error like this “UnboundLocalError: local variable ‘vertices’ referenced before assignment”. I’ve checked every component and found that it was aperture component that reported the error.

What should I do? Please help me.

This is fixed in later versions I believe - try updating to the latest version of PsychoPy, or any after 2023.1.0.