Attachto: errors appearing out of nowhere?

I built a project a while ago that had some attachto: errors that would go away after I recompiled the blueprint, but it would decompile other blueprints that I had just repaired and give me more attachto: errors for those.

I started a new project and put a single blueprint in the project. I just told it to spin as a moveable object. I tested it and it worked flawlessly.

Then, I came back to the machine a few hours later and the blueprint now won’t register as moveable, it gives the same attachto: errors, and moves my blueprint components to 0.0.0.

AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.BasePole’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1076131123_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820007139.StaticMeshComponent0’ which is static to it. Aborting.
AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.LeverPole’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1273633127_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820007137.StaticMeshComponent0’ which is static to it. Aborting.
AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.Grindstone’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1488632130_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820007138.StaticMeshComponent0’ which is static to it. Aborting.
AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.StaticMeshActor_UAID_345A601E8F4ED18C02_1238538126’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1238538126_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820005134.StaticMeshComponent0’ which is static to it. Aborting.
AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.StaticMeshActor_UAID_345A601E8F4ED18C02_1237440125’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1237440125_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820005133.StaticMeshComponent0’ which is static to it. Aborting.
AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.StaticMeshActor_UAID_345A601E8F4ED18C02_1200955124’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1200955124_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820005132.StaticMeshComponent0’ which is static to it. Aborting.
AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.StaticMeshActor_UAID_345A601E8F4ED18C02_1336846129’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1336846129_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820006136.StaticMeshComponent0’ which is static to it. Aborting.
AttachTo: ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.GrindstoneTurner_C_UAID_345A601E8F4ED18C02_1820003131.StaticMeshActor_UAID_345A601E8F4ED18C02_1331417128’ is not static (in blueprint “GrindstoneTurner”), cannot attach ‘/Game/UEDPIE_0_Wheelpit.Wheelpit:PersistentLevel.StaticMeshActor_UAID_345A601E8F4ED18C02_1331417128_GEN_VARIABLE_StaticMeshActor_CAT_UAID_345A601E8F4ED18C02_1820006135.StaticMeshComponent0’ which is static to it. Aborting.

Why are my blueprints becoming corrupted like this?

I have solved my own bug - at least in the example project i made to confirm there’s an error.

the blueprint instance in the static level contains outdated information from the blueprint as it was being constructed. AFTER finishing the blueprint, delete any static instances in your level and recreate them, and fix your references to your level blueprint. So far the bugs haven’t reappeared.