UxmlElementAttribute not found inside managed plugin?

I’m trying to put some custom controls in a managed plugin, but I get this error: “[customcontrol] is missing a UxmlElementAttribute and has no registered factory method. Please ensure that you have the correct namespace imported.”

The custom controls no longer show up in the UI Builder and fail to load from uxml files.

It seems like the UIToolkit.SourceGenerator is not finding the UxmlElementAttribute when it’s in a managed plugin? Is this a known issue or am I doing something wrong?

1 Like