playMaker

Author Topic: Failed to insert item / Unable to insert menu item into submenu  (Read 555 times)

lukew

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Unity 2018.3.7.f1
Playmaker 1.9.0.p10

When clicking right button inside the Playmaker editor or adding a new state I'm getting xxx 'Failed to insert item' errors with various event names from my templates:

Quote
Failed to insert item. Name: 'EVENT NAME', Command: xxxx

There is also one additional error at the end of the list:

Quote
Unable to insert menu item into submenu since index exceeded limit of 1000, item's parent:Add Global Transition
UnityEditor.EditorWindow:SendEvent(Event)
HutongGames.PlayMakerEditor.FsmEditor:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:962)
HutongGames.PlayMakerEditor.FsmEditorWindow:Update() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:276)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Events that are listed in error messages are not visible on the custom events submenu list in the right button menu.

I also can't access global transition list from the right button menu. It's not expanded when I'm trying to access it.

I wasn't getting this errors before, but I'm not sure if the list was limited. Is this something new?
« Last Edit: April 11, 2019, 02:23:23 AM by lukew »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14471
  • Official Playmaker Support
    • View Profile
Re: Failed to insert item / Unable to insert menu item into submenu
« Reply #1 on: April 11, 2019, 11:07:51 PM »
Hi,

 woah, ok, never saw that before, can you fill up a bug report via the PlayMaker menu /tools/Submit Bug report.

 Thanks.

 Jean

lukew

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: Failed to insert item / Unable to insert menu item into submenu
« Reply #2 on: April 24, 2019, 03:49:10 AM »
No problem. I've reported it.

Thanks.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4518
    • View Profile
    • jinxtergames
Re: Failed to insert item / Unable to insert menu item into submenu
« Reply #3 on: April 25, 2019, 02:20:21 AM »
Hi.
Also, can you update to the latest PM version (current latest is 1.9.0p15) and see if the bug is still there?
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions