MetaSound Editor crashes when Slate.GlobalInvalidation is enabled

Hello,

we have a crash in the MetaSound Editor when Slate.GlobalInvalidation is enabled. This is happening for UE5.5.4.

Kind regards

Moritz Grunwald

Steps to Reproduce

  1. Enable Slate’s GlobalInvalidation in the DefaultEngine.ini
  2. Open the MetaSound of the content folder in the attached project
  3. Play the MetaSound
  4. Wait some time, click around in the level, zoom in and out in the MetaSound graph, …
  5. It crashes

Hi,

Thanks for the report. That’s interesting, I’m not sure it’s intentional that global invalidation would apply to anything within the editor. From the callstack, it looks like the global invalidation system is applying to tooltips (which makes a bit of sense since they are summoned in their own Slate window which could act as an invalidation root), and the MetaSound tooltips are pretty customized with hit-testable buttons within them, so I’m guessing that’s the source of the issue. I’ll dig in and see if it’s a quick fix or if it needs a bug report for further investigation. In the meantime, you should be able to work around this by enabling global invalidation at BeginPlay instead of in your ini file, if it’s causing headaches.

Best,

Cody

Hello,

thank you for the workaround.

Kind regards

Moritz Grunwald

Hi,

Quick update on this, it looks like the pin value tooltips specifically had been marked to use global invalidation, which is probably unsafe since we generally don’t support global invalidation within the editor. If you’re willing to make engine changes, you can remove the calls to SetAllowFastUpdate in SPinValueInspector.cpp. I’ll see about getting that change into the next engine release.

Best,

Cody

Hello,

thank you for the fix, engine changes are no problem for us.

Kind regards

Moritz Grunwald