Skip to content

Unity 6 Collider2DProperty.cs error #176

@ByrneOut

Description

@ByrneOut

Describe the bug
Edited the Collider2DProperty.cs as noted in the code.
When I commented out line 120 and uncommented line 118 I get the error: <Collider2DProperty.cs(118,57): error CS0029: Cannot implicitly convert type 'bool' to 'UnityEngine.Collider2D.CompositeOperation'>

To Reproduce

  1. commented out line 120
  2. uncomment line 118
  3. Save
  4. Recompile in editor
  5. Get error: <Collider2DProperty.cs(118,57): error CS0029: Cannot implicitly convert type 'bool' to 'UnityEngine.Collider2D.CompositeOperation'>

Expected behavior
No errors when following the instructions in code to adjust for Unity6

Screenshots
Image

Image

Versions & Platform (please complete the following information):

  • Unity version: 6 (6000.0.64f1)
  • Fungus Version: v3.13.7
  • Editor OS: Win 10
  • Build Platform: WebGL and Windows IL2CPP

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