Skip to content

[BUG] UXCore causing error in Unity 6.3 because of legacyDialogue in package and new breaking serializefield rules #1101

@RCrolyFex

Description

@RCrolyFex

Describe the bug

UXcore 3.3.0 throws an error when imported into Unity 6.3:

Packages\org.mixedrealitytoolkit.uxcore\LegacyDialog\DialogButton.cs(20,6): error CS0592: Attribute 'SerializeField' is not valid on this declaration type. It is only valid on 'field' declarations

To reproduce

Import the ux core 3.3.0 package into unity 6.3

Expected behavior

No errors :)

  • Unity Version 6000.3.9f1
  • UXcore 3.3.0

Target platform (please complete the following information)

  • OpenXR

Additional context

https://discussions.unity.com/t/planned-breaking-changes-in-unity-6-3/1646418

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: TriageNeeds to be triaged.Type: BugA problem with an existing feature that can be fixed with the next patched release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions