Migrated Plasmoid works with plasmoidviewer, but won't show up in panel

Hello,

I’ve recently migrated my Plasmoid from Plasma 5 to Plasma 6 following the official guide. And while I get no errors when installing the Plasmoid with kpackagetool6, it just won’t show up in my panel. It does work with plasmoidviewer -a, though.

Has there anything changed regarding compactRepresentation? This is my content/ui/main.qml:

import QtQuick 2.15

import org.kde.plasma.plasmoid
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components as PlasmaComponents


PlasmoidItem {
    id: root
    compactRepresentation: Pliff {}
    fullRepresentation: Pliff {}
    preferredRepresentation: compactRepresentation
}

The only elements I use in Pliff.qml are Image, Text, and Timer, plus some JavaScript functions.

I was able to resolve issue, but I’m not sure how. Either the moving of the Plasmoid SVG to contents/ helped, or the reboot. No idea!