Fix up redirectors: Failed to find object

I’m trying to fix up redirectors in a particular folder but that results in 3 warnings:

LogUObjectGlobals:Warning: Failed to find object 'Object /Game/Drones/Blueprints/Drone.Default__Drone_C'
LogUObjectGlobals:Warning: Failed to find object 'Object /Game/Drones/Blueprints/Drone.Drone'
LogUObjectGlobals:Warning: Failed to find object 'Object /Game/Drones/Blueprints/Drone.Drone_C'

There is indeed a Drone.uasset but that’s not visible in the content browser. Manually deleting the uasset breaks several other classes.
Branch: Binary
Build version: 4.4.0-2255576

Hi ,

Can you provide the repro steps you are taking that cause these errors to occur? Does this happen in a clean project with no additional content? Thank you!

Unfortunately I have no idea how to reproduce this. I’ve done several cleanups in the last couple of months but it’s the first time I see this. I could send you a link to the project if that helps. Is there anything I should try to get more info on the matter?

So Drone.uasset is a redirector pointing to DroneBase.uasset. I had the idea of renaming or moving DroneBase and thus forcing the creation of another redirector. I hoped that replacing the Drone redir would fix things. However no matter what I tried no other redirectors were created for DroneBase.uasset. Also, Drone.uasset is sometimes modified when I mess with its target asset but not always, looking at the time of last modification.

I was renaming DroneBase back and forth then quit. When I started the editor again I got an error during startup that one of the classes couldn’t find “Drone_C”. I opened that BP and it compiled fine but one node, a class equality check, was back on ‘none’. I set it to a valid value and now no startup error AND no error during fixup redirects.
However no fixup is happening when invoking that command: the folders are still littered with tiny “whatever_Child.uasset” files and Drone.uasset is still in there too. The output log shows nothing except “content browser source was changed” as I go around calling fixup redirects on different folders.

,

I am a bit confused as to what is happening here. So you have a redirector already in place. Is this from a previous move/rename of the object? And then you want to move and/or rename the object again and it is throwing these errors when you attempt to create a new redirector or is it when the first redirector attempts to access a second redirector?

Hi ,

When you first quit the editor, it is possible that the blueprint needed to be compiled to access the new changes. Try renaming drone and then recompiling the asset that caused the error last time to see if it takes the changes. Then restart the editor and see if it gives the error again.

The listed errors in the first post are all have the name of the uasset file which was a class before but now it’s just a redirector pointing to the DroneBase class. This is why it’s weird: there shouldn’t be a Drone_C and the like, only DroneBase_C.
I don’t really want to rename or move anything I just want to clear up the redirectors but that is somehow prevented by those errors which seem to be related to the name “Drone” which does not exist anymore save for that redirector.

I see, you should be able to remove these files through the filepath on your desktop. Go to \Unreal Projects\PROJECT NAME\content\ and find the folders where drone was stored. See if you can see those additional assets and remove them manually. Please let me know if this fixes the problem. Thank you!

Hi ,

I am happy to hear that you were able to resolve your error. I am marking this as accepted for tracking purposes. Have a great day!

I rolled back the project to its original state when I got the 3 warnings. I went straight to the class which was suspected to be still referencing Drone_C, the one with the equality check. In there on the node the proper, new name was displayed. I changed it to something else, compiled, saved, quit.

On startup no errors and fixupredirect actually started: bunch of warnings saying that the Drone redirector is being referenced by old test maps. I deleted them and restarted the editor. Ran fixup again, it showed a dialog and cleared up Drone!

I checked if I still had those “_Child.uasset” files and they were still there so I ran fixup again:
Warning: Can’t find file ‘/Game/Drones/Blueprints/Drone’ …No idea what this was about…

Anyway, restarted the editor, no load warnings, I deleted the “_Child” files manually without problems. Now fixup shows no UI at all but maybe it’s just that fast. Hopefully this is the end.
Thank you for your help. :slight_smile: