Skip to content

BUG: Compilation problems for classes implementing ILayoutElement in 6000.6 #534

Description

@Luchianno

Unity UI Extensions Bug Report

Describe the bug

There have been changes in 6000.6, ILayoutElement now has maxWidth and maxHeight fields that need to be implemented. UIPrimitiveBase does not implement those.

To Reproduce

  1. Open new 6000.6 project
  2. Import 3.0.0 package
  3. See error

Expected behavior

UIPrimitiveBase should implement new ILayoutElement fields, and deriving primitives should override those (maybe).

Actual behavior

Compilation errors

Screenshots

Your Setup

  • Operation System:
    • Windows
    • MacOs
    • Linux
    • Other
  • Unity Version: 6000.6.0f1
  • Unity UI Extensions Version
    • 3.0.0

Additional context

As a quick workaround those fields could return LayoutUtility.DefaultMaxSize;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions