C++ with UXP communication

Hello

I am trying to connect an automation with plugin but I always receive an error that plugin is not found

My panel have this id in the manifest.json

   PIActionDescriptor execDesc;
   sPSActionDescriptor->Make(&execDesc);
   sPSActionDescriptor->PutString(execDesc, keyPEC_Data, data);
      
   const char* UXP_MANIFEST_ID = "com.plugin.id";
   SPErr err = sUXP->SendUXPMessage(GetPluginRef(), UXP_MANIFEST_ID, execDesc);

There are an example of this?

Thanks

1 Like

I face the same issue…

1 Like

Facing the same issue.

@develop13 or @Posheng did you get any workarounds that work for you?

Thanks for your help

Making a hot folder inside the UXP
C++ plugin sends the file or the info in this folder (PluginData folder)
And a setInterval in UXP code searching in this folder.

Not nice, but we only found this way

1 Like

Noting from Office Hours that this is still a problem as of year-end 2025:

Photoshop C++/UXP comm issue: SendUXPMessage always fails for me. I’m getting this error: sUxpProcs->SendUXPMessage(gPlugInRef, UXP_MANIFEST_ID, desc) returned 0x50214664 (‘P!Fd’) (plugin not found) the UXP_MANIFEST_ID is the one defined in the uxp plugin’s manifest. How do I debug this?

…there are topics on the forum that the C++ <> UPX communication snippet from the documentation doesn’t work: https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/cpp-pluginsdk/

cc: @indranil, @samgannaway

1 Like