Skip to content

Unknown pseudo class "last-child" in StyleSheet Common #622

@LandoGames

Description

@LandoGames

Unity shows this USS warning when loading the MCP window:

Unknown pseudo class "last-child" in StyleSheet Common
UnityEditor.AssetDatabase:LoadAssetAtPath<UnityEngine.UIElements.StyleSheet> (string)
MCPForUnity.Editor.Windows.MCPForUnityEditorWindow:CreateGUI ()

Unity UI Toolkit doesn't support the :last-child pseudo-class.
The USS file needs to be updated to remove or replace this selector.

Unity version: 6000.3.5f1
MCP package version: 6e9594da7766

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions