Hi! I ran into some trouble getting it to run on Blender 5.2 as the initial setup was failing. Using "setup viewport" would just fail flat out. But I checked out the error then looked into the code and found the issue in ps_uv.py. The protection for the space type needs to fire just before with the changes made to 5.2.
for space in area.spaces:
if space.type != 'IMAGE_EDITOR':
continue
img = space.image
if img is None:
continue
This is the fix I applied and that got me past the initial setup and I'm running just fine so far. I'll let you know if I run into any other issues in 5.2 but so far so good!
