Search Unity

Editor Menu item insert limit Workaround?

Discussion in 'Editor Workflows' started by OvergrownRoom, May 24, 2023.

  1. OvergrownRoom

    OvergrownRoom

    Joined:
    Nov 22, 2018
    Posts:
    1
    I have an enum which has reached a size that the editor no longer wants to populate all the elements in the menu. It gives the the error: Failed to insert item. Menu item insert limit is reached. -Listing only part of the full enum that is otherwise accessible.

    Could someone please point me in the direction of getting around this limitation and displaying all the collection elements in the editor menu.
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,892
    Where in the editor? Custom editor? How many items? Why does it have so many? Can they be combined? Is splitting the enum an option?