Does UNITY_WSA tag only target ARM builds?

I am using the UNITY_WSA tag to do some conditional compilation when using a plugin for Windows Store IAP

I have switched my platform to be Windows Store (I have tried all the different combinations of 8, 8.1 or Universal) and when I use #UNITY_WSA the code contained within this is highlighted.

Unfortunately when I deploy my game to a windows 8 or 10 device it appears that the code never gets hit/run

It is worth noting that I am deploying from the Visual Studio project that is created by unity and not running directly from unity itself. As such I am doing a X86 build and not an ARM build.

Does the UNITY_WAS tag only work for ARM builds? Which I guess would only be the case once the app is published and on the Windows Store?

No, UNITY_WSA is defined whenever you build to Windows Store, it doesn’t matter what CPU architecture there is, X86, ARM or X64

What Unity version are you using? UNITY_WSA was added in Unity 5.0.