I just downloaded the InDesign 2022 Prerelease and I copied the BasicPanel plugin into the Plugins directory. When I try to open the InDesign prerelease it shows me a popup saying that BasicPanel requires the debug version of InDesign. I try compiling BasicPanel as Release and Debug, with the same result.
Is it not the same one as the PreRelease and Debug version?
Also, if you see the error that you need to use the debug version of InDesign then surely if you create the release version of the plugin and if it's created right and you use the correct SDK then the plugin should load.