The "Replace with After Effects Composition" feature isn't working fine in the new version of Premiere (26.5.1)

The "Replace with After Effects Composition" feature isn't working in the new version of Premiere (26.5.1) with open projects from previous versions (26.5). A "generic error reported by the exporter" message appears. After Effects does create the composition, but the clips aren't visible—they appear black—and the linked composition isn't created neither in Premiere proyect pannel nor in the timeline. Is this an issue with version 26.5.1? Has anyone managed to fix it? It works fine with completely new projects in this version; the problem only occurs with projects started in an earlier version (even if it's just a minor update, like going from 26.5 to 26.5.1).
Thanks
