Description

UND: https://udn.unrealengine.com/questions/559972/invalid-map-in-blueprint-unable-to-be-deleted-urge.html

If you delete a struct in Windows Explorer manually, then open a project/BP, it will ask to delete and clean up the reference/variables it can not find. If you do this the BP will be broken and not compile. It will complain about the missing variable but it is not visible to delete.

Searching for the variable will display it but you still can not navigate to it.

Steps to Reproduce

Sample project:

https://udn.unrealengine.com/storage/temp/424719-testblueprinterror.zip

 

  • Make sure the project is closed
  • In File Explorer, delete Content/MyStruct.uasset
  • Open the project
  • Open MyBlueprint1 in the editor
  • It will ask you if you want to delete the Struct variable. This is good, and ideal behaviour. (You can say OK or Cancel to this, as you wish)
  • This is because it was a direct struct variable
  • Open MyBlueprint2 in the editor
  • It will not flag any issue, but, even if you delete all reference to the StructMap variable, it will still fail to compile.
  • If this were all, it would be easy enough to replace the deleted/renamed struct, but once you've change something in the blueprint and saved it again, what seems to be being saved is type "Structure", so it's permanently broken.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-89939 in the post.

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.24
Target Fix4.25
Fix Commit11896575
Main Commit11878818
Release Commit11896575
CreatedMar 3, 2020
ResolvedMar 3, 2020
UpdatedJul 30, 2020