[Crash]:Undo after pasting node into new material function

This crash happens 100% of the time with new material instance, but I think it also happened to me in function made some time ago.

Steps to reproduce:

  • start beta6
  • in content browser create a new material function and open it
  • right after that, open some already existing material
  • copy (via ctrl+c) some random node from the material
  • go back to the new material function and paste the node (via ctrl+v)
  • hit undo shortcut, then hit undo shortcut again (doesn’t have to be done fast)
  • crash should happen (well, shouldn’t, but seems it’s happening :slight_smile: )

Hey Tomas,

Thanks for your report! We have been unsuccessful at reproducing this crash–would you be able to provide a screenshot of the material setup from which you are copying a node? Also, if you are able to easily reproduce this, could you post your callstack and attach your log?

Thanks!

-Steve

Sorry, I assumed it will be a common crash if i could reproduce it so easily.
As for the material setup, it really doesn’t matter, I make a new function and then copy/paste from whatever random material I choose. I just reproduced the bug with the Content Example project, the welcome map and the ExampleContent/Materials/Materials/M_Opaque material (copied the only node there).

Here is the log:

Assertion failed: !IsPendingKill() [File:D:\BuildFarm\buildmachine_++depot+UE4-Rocket+Beta6\Engine\Source\Runtime\Engine\Private\Materials\MaterialExpressions.cpp] [Line: 582]

Stack:
Address = 0x623f3156 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x622e345a (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x60b80399 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b8032b (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60ac06d3 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b81713 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60ac0264 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60bc3909 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b7e48f (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b7ed5a (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b7efa6 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60abc2ee (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60abc190 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60aea6cd (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x61f5f2b7 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0x5ce245dd (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5cdffb9d (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5e0d7b3c (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5e110a5c (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5ce21d38 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5cdb4f5d (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5cdb8247 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5f246410 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x5f28acfe (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x5e933b1e (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5e95177d (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5f302f25 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x5f2f9a28 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x623a8cd2 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x6239ab51 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x623a9c48 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x623981e2 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x81f92524 (filename not found) [in C:\Windows\system32\USER32.dll]
Address = 0x81f92387 (filename not found) [in C:\Windows\system32\USER32.dll]
Address = 0x623e4949 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x623a9ecb (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xcb0d8d1f (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0ce8dc (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0ce94a (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0da73b (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0db3ef (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x837215cd (filename not found) [in C:\Windows\system32\KERNEL32.DLL]
Address = 0x839843d1 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0x839843d1 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]


Address = 0x80f9ab78 (filename not found) [in C:\Windows\system32\KERNELBASE.dll]
Address = 0x623f1a1c (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x622fc8b2 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x622e34ff (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x60b80399 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b8032b (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60ac06d3 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b81713 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60ac0264 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60bc3909 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b7e48f (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b7ed5a (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60b7efa6 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60abc2ee (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60abc190 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x60aea6cd (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Engine.dll]
Address = 0x61f5f2b7 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-CoreUObject.dll]
Address = 0x5ce245dd (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5cdffb9d (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5e0d7b3c (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5e110a5c (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5ce21d38 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5cdb4f5d (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5cdb8247 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-MaterialEditor.dll]
Address = 0x5f246410 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x5f28acfe (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x5e933b1e (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5e95177d (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-UnrealEd.dll]
Address = 0x5f302f25 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x5f2f9a28 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Slate.dll]
Address = 0x623a8cd2 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x6239ab51 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x623a9c48 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x623981e2 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x81f92524 (filename not found) [in C:\Windows\system32\USER32.dll]
Address = 0x81f92387 (filename not found) [in C:\Windows\system32\USER32.dll]
Address = 0x623e4949 (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0x623a9ecb (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor-Core.dll]
Address = 0xcb0d8d1f (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0ce8dc (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0ce94a (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0da73b (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0xcb0db3ef (filename not found) [in U:\Rocket\Engine\Binaries\Win64\RocketEditor.exe]
Address = 0x837215cd (filename not found) [in C:\Windows\system32\KERNEL32.DLL]
Address = 0x839843d1 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]
Address = 0x839843d1 (filename not found) [in C:\Windows\SYSTEM32\ntdll.dll]

Hey Tomas,

We were able to reproduce the crash with your additional repro steps and have determined this crash has already been fixed in our internal UE4 builds and expect it to be fixed in the next Rocket Beta release.

Thanks!

-Steve

Forgot the system spec (edit somehow didn’t work) - Core i7, GTX670, 16GB RAM, Win 8.1, all reinstalled just a few weeks ago with the latest drivers.