4.7.4 Cancelling "Fix Up Redirectors Crashes Editor

Select a folder, choose “Fix Up Redirectors”. editor goes through process of source control and everything. When it gets to last window, it shows multiple files that depend on redirector and only way around it is to choose force delete. Instead, you hit cancel, and editor crashes.

Hi ,

Does this occur in a clean, blank project with no additional content or is it limited to one project? Additionally, can you post your callstack and crashlogs here so I can take a look?

I tried to reproduce in Content Examples 4.7 but could not.

I think it may have something to do with all assets checked out by Perforce that don’t like being reversed.

MachineId:2C919CAA48C227CA6055ABB0C42571B3
EpicAccountId:a0eae3dc906542a2bc93f15e62d9e15d

Unknown exception - code 00000001 (first/second chance not available)

Assertion failed: BlueprintActionDatabaseImpl::IsObjectValidForDatabase(AssetObject) [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Editor\BlueprintGraph\Private\BlueprintActionDatabase.cpp] [Line: 1121] 

KERNELBASE + 37901 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 292 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FOutputDevice::Logf__VA() + 248 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:144]
UE4Editor_Core!FDebug::AssertFailed() + 1079 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:224]
UE4Editor_BlueprintGraph!FBlueprintActionDatabase::RefreshAssetActions() + 156 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\blueprintgraph\private\blueprintactiondatabase.cpp:1123]
UE4Editor_BlueprintGraph!FBlueprintActionDatabase::Tick() + 636 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\blueprintgraph\private\blueprintactiondatabase.cpp:948]
UE4Editor_UnrealEd!FTickableEditorObject::TickObjects() + 164 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\public\tickableeditorobject.h:15]

Crash log continued:

UE4Editor_UnrealEd!UEditorEngine::Tick() + 1635 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\editor.cpp:1110]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() + 22 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\editor\unrealed\private\unrealedengine.cpp:347]
UE4Editor!FEngineLoop::Tick() + 4179 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\launchengineloop.cpp:2257]
UE4Editor!GuardedMain() + 1404 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

For clarity, assets you have checked out of perforce have since been moved into other folder filepaths before being checked back into perforce and during this time you used fix up redirectors and that was when crash occurred?

When I moved assets, it probably checked them out. Then all redirectors get made. Not sure if they were checked for add as part of process or not. Immediately after moving them, tried cleaning them up and canceling and it crashes.

Hi ,

Sorry for delay in response. We’re trying to reproduce this here, but we need some more detailed reproduction steps. In particular, we need to know starting state of things: which assets/referenced assets are in source control, checked out, unable to be checked out, pending save, etc.

call stack you gave us doesn’t especially suggest it has anything to do with source control, but we’d like to check. Can you also /attach crash log from project after this occurs? Thanks!

Just happened again with a single redirector. redirector used to be a texture, and was pointing to a material instance.

It had not been submitted to source control since I had just deleted it’s parent.

link text

Hi ,

Unfortunately I haven’t been able to reproduce this on my end. Do you have a sample project that is exhibiting this behavior you’d be willing to share? I’d be happy to take a look!

I haven’t been able to replicate in a barebones project, but if I do I will let you know.

Hi ,

It looks like this is actually a known issue, which we have reported as UE-7477. That bug has been fixed internally and no longer occurs in 4.8. From what we can tell, pertinent reproduction step is to have assets open when hitting cancel. Can you confirm? Thanks!

I tried it without assets open, and this time it didn’t ask me to force delete anything, but when I hit cancel it still crashed.

Can you try same thing in latest promoted from GitHub? I want to be sure it’s a separate bug.

Hey ,

I haven’t heard back from you in a while, so I’m resolving this post for now. 4.8 Preview 1 should be released soon, and I would appreciate it if you could let us know if this still occurs in a copy of project in that Preview after it is released. Thanks!