Skip to content

Stability: GM crash while trying to update a gadget that is being destroyed #15802

Description

@gm-bug-reporter

Description

Gamemaker Crashed after pressing f5 but game still ran perfectly even with the new additions

Which version of GameMaker are you reporting this issue for?

IDE v2026.0.0.16 Runtime v2026.0.0.23

Which operating system(s) are you seeing the problem on?

Windows 10.0.26200.0

Crash call stack

GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0
System.NullReferenceException: Object reference not set to an instance of an object.
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.ForEachGadgetInTree[TInterface](GUIBase gadget, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.ForEachGadgetInTree[TInterface](GUIBase gadget, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.ForEachGadgetInTree[TInterface](GUIBase gadget, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.ForEachGadgetInTree[TInterface](GUIBase gadget, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.ForEachGadgetInTree[TInterface](GUIBase gadget, Action`1 action)
   at YoYoStudio.GUI.GUIBaseExtensions.<ForEachGadgetInTree>g__broadcastToAllInList|0_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.DesktopDetails.<ForEachGadgetOnDesktop>g__broadcastToAllInList|5_0[TInterface](List`1 list, Action`1 action)
   at YoYoStudio.GUI.DesktopDetails.ForEachGadgetOnDesktop[TInterface](Action`1 action)
   at YoYoStudio.GUI.WindowManager.ForEachGadgetAcrossAllDesktops[TInterface](Action`1 action)
   at YoYoStudio.GUI.WindowManager.ConsiderBroadcastingAsyncImageLoadCompletions()
   at YoYoStudio.IDE.Run()
   at YoYoStudio.IDE.Execute(String[] _args, ipoint startMousePos)

f4c0fc55-e0c2-46d6-b3cc-0c60b7f80225

Activity

  1. self-assigned this
    on Aug 17, 2026
  2. moved this from Triage to Backlog in Team Workloadon Aug 17, 2026
  3. changed the title [-]Gamemaker Crashed after pressing f5 but game still ran[/-] [+]Stability: Crash while trying to update a gadget that is being destroyed[/+] on Aug 21, 2026
  4. moved this from Backlog to In Progress in Team Workloadon Aug 21, 2026
  5. added this to the 2026.1.0 milestone on Aug 21, 2026
  6. moved this from In Progress to Done in Team Workloadon Aug 21, 2026
  7. moved this from Done to Ready for QA in Team Workloadon Aug 24, 2026
  8. cameron-home commented on Aug 25, 2026

    @cameron-home

    Cannot reproduce when building from IDE v2026.100.0.1135 Runtime v2026.100.0.1088 so marking as verified

  9. moved this from Ready for QA to Verified in Team Workloadon Aug 25, 2026
  10. changed the title [-]Stability: Crash while trying to update a gadget that is being destroyed[/-] [+]Stability: GM crash while trying to update a gadget that is being destroyed[/+] on Aug 26, 2026
  11. marked silent crash no idea why #15950 as a duplicate of this issue on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

projectThis issue has a sample project attached

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions