Crash opening a BP containing a deleted CustomMacro

Hello,

Got this very annoying crash after I deleted a Macro in an user made Macro Library and then opened a BP that was still referencing it.

  1. Create a Blueprint Macro Library
  2. Add a Macro (Let’s call it TestDelete)
  3. Create a Blueprint Pawn
  4. Add a Macro and place TestDelete macro
  5. Restart Editor to make sure it’s well refreshed
  6. Open Blueprint macro Library and delete Macro TestDelete
  7. Save
  8. Restart Editor (an error will appear in MessageLog tab)
  9. Open Pawn Blueprint
  10. Open Macro that was using TestDelete. should Crash without possibility to replace missing reference

As a workaround : recreate deleted Macro (TestDelete), restart editor.

Hi Genova,

Thanks for report! I was able to reproduce this in 4.9.0 and our internal build, and I’ve entered a bug report for crash (UE-20717). I’ll post here when I see any update on it.

I’m not 100% sure I’m following same steps, however. Just to be sure I’m getting same crash as you, please copy information from Crash Reporter window after this crash occurs, including Machine ID, and paste it here. Be sure to hit Send. Then I’ll be able to compare your call stack to mine and ensure we’re seeing same thing. Thanks!

I actually wanted to reproduce another Macro bug that i will report afterwards and hit crash in different ways when reproducing this one now ^^:

Compiling is problem as far as i can see:

  1. I created an empty Macro in Actor inherited Macro Library BP - saved

  2. Created an Actor BP and added Macro - compiled and saved and closed window

  3. I deleted macro - saved

  4. Crash when opening Actor BP

Another try:

  1. I created an empty Macro in Actor inherited Macro Library BP - saved
  2. Created an Actor BP and added Macro - NOT compiled and saved and window still opened
  3. I deleted macro - saved
  4. Macro was renamed from default macro name to “EdGraph_35” in Actor BP
  5. Closed and opened BP again → still EdGraph_35 node in there
  6. Compile → Crash - I sent this Crash Report
  7. Editor crashes if BP is opened again
  8. Adding EdGraph_35 Macro in Library did not work. Adding original “NewMacro_0” worked.

I just posted UNDO problem, perhaps it is caused by same issue: