Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

(Case 1086606) Regression: MenuItem duplicated items

Discussion in '2018.3 Beta' started by Peter77, Oct 1, 2018.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,468
    If MenuItem contains a white-space in-front of a forward-slash, Unity 2018.3b3 now creates several of those menu items.
    Code (CSharp):
    1. [MenuItem("Assets/Copy /Asset Path")]
    screenshot.png

    Reproduce
    • Open provided user project in Unity 2017.4
    • Open the "Assets" context in the project window
    • Observe there is only one "Copy" menu item
    • Open provided user project in Unity 2018.3.0b3
    • Open the "Assets" context in the project window
    Actual
    Observe there exist several "Copy" menu items.

    Expected
    Only one "Copy" menu item should be created.
     
    LeonhardP likes this.