object cannot be deleted in content drawer but also blocks game from compiling and starting, fully blocking the ongoing development

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Assets

Summary

NPC Behavior object cannot be deleted in content drawer but also blocks game from compiling and starting, fully blocking the ongoing development

Steps to Reproduce

make NPC character definition, make animation preset, assign animations to the idle and walk, link the NPC definition with anim preset. delete the animations, and click force delete when it says they’re in use. then try to build the game, it complains that non existed animations are in use. go delete the anim preset. then try to delete the NPC behavior - it’ll say cannot be deleted. but it’s too late, the game can’t start, and the NPC definition can’t be deleted. Error is “[AssetLog] /mygame/Enemies/NPC_RazorTail : References /mygame/Enemies/BP_RazorTailAnimPreset which does not exist. (FortValidator_IllegalReferences)”. When you try to delete it, says “Cannot currently delete selected objects. See log for details.” so i’m completely stuck. cannot delete, cannot run the project.

Expected Result

can delete object even if it references something that was deleted and is broken.

Observed Result

cannot delete.

Platform(s)

Win 10, latest UEFN version.

image


I already reset it to not be referencing anything and deleted all modifiers, still cannot be deleted.

all the errors for the context, looks like this. completely stuck, cannot delete it and cannot reset it and cannot start the project session. pretty sure it’s a UEFN bug. how can I gather some debug logs for you to help with solving that bug in the future updates, where are the detailed system logs of UEFN editor? (it should definitely allow to delete the resource, and also delete it from the scene from anywhere it is instantiated on the scene in game).

Hello @PumbaMumba , thanks for reporting this problem. It appears we have a bad reference saved to the NPC Character Definition asset, our engineer is aware of the issue and will work on the fix in future release.

Before the fix is ready, you can try to see if can Force Delete the definition data in the latest UEFN update. If you are still blocked by the same errors above, then you can try the following workaround to clean the errors, which allows you to delete the NPC Character Definition data or keep iterating on the current asset:

  • Create a new Animation Preset in your project (i.e, create a new asset named as RazorTailAnimPreset_New)
  • Locate the problematic NPC_RazorTail character definition asset.
  • Change Type to Custom (so you can reassign the Animation Preset)
  • Add a Cosmetic Modifier to NPC_RazorTail

Then On the Cosmetics Modifier

  • Set the Character Look to Custom Character
  • Set Character Blueprint to the Blueprint Actor you’ve created for the NPC
  • Set Character Movement to Animation Preset
  • Set Anim Preset to the newly created asset RazorTailAnimPreset_New

After that you should have the error cleared and you can keep iteration or deleting the definition data safely.

Let us know if you are still blocked after the steps above and we will see if anything else needed to unblock your work, thanks!

it got fixed by the level designer in our team somehow, no clue because it was long ago :smiley: but the happy news is that we were able to get through :grin: thanks for your advice though!