In our work, we use shapes in photoshop to create our assets. It is necessary for these assets to not be rasterized and kept as a shape. We also use the feature of photoshop shapes where the line of the base shape is maintained when there is a clipping layer on top of the shape. This issue has actually been posted here before (it's what showed up when I googled the issue), but as there was no reply in 4 years, I would like to post about it again. This issue has persisted among me and my coworkers for a while now with varying photoshop versions, but we all use Windows 11. I used Windows 10 initially and this did not happen to me. Not sure if it's relevant but I'm putting it down just in case.

1) What I have tried:
Tried both the PhotoshopToSpine script and Importing the PSD directly into Spine, same result
2) What I expected:
The images should have the lines of the shape preserved despite the clipping layer on top
3) What actually happened:
The lines were covered by the clipping layer as if the base shape was rasterized before exporting
Reproducing the problem
Setup for the images:

The base shape has a stroke setting while a shape is clipped on top of it.
Using Photoshop to Spine script
- Open Photoshop
- Run the script (File > Script > Browse > select PhotoshopToSpine)
- Run the script with these settings

- Import Data > JSON
Using Import PSD directly to Spine
- Open Spine
- Menu > Import PSD > Select the PSD
- Import with these settings

both achieve the same result
Spine files:
PSD:
Editor information
Spine Editor version: 4.3, but this has occurred in 4.2 as well using the Photoshop to spine text
Apologies if it's not tagged or formatted correctly. I signed up just for this because it's an issue that has persisted and slowed down out workflow