# How can I get rid of the "Failed import for ObjectProperty" warning?

**URL:** <https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893>\
**Category:** Pipeline & Plugins\
**Tags:** error, UE4-8, unreal-engine, editor, question\
**Created:** [September 3, 2015, 10:51am UTC](https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893 "2015-09-03T10:51:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_359f4d3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_359f4d3c](https://forums.unrealengine.com/u/anonymous_user_359f4d3c)\
**Post date:** [September 3, 2015, 10:51am UTC](https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893/1 "2015-09-03T10:51:35Z")

</div>

Using 4.8.3. We’re currently cleaning up a prototype project for the next prototype step. That means we can remove a lot of existing Blueprints but still want to keep some existing ones.

One of our removed custom components keeps popping up in a “Failed import for ObjectProperty” error when opening the editor. It appears to have no effect on the game itself, but it’s certainly annoying.

 ![56970-failedimportmessage.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/6/1d685fcb344f5452323d1b8ebfcad30a6b3f3e9b.png)

When doing the cleanup, in a first step I removed all references to the CombatComponent in other Blueprints and submitted the changes. Then I removed the component from the LP\_Character (and its child class) and only then did I remove the CombatComponent itself. (I committed these two changes together.)

When I next reopened the editor after that, there were a few error messages about some other components referencing the component that I really wouldn’t have thought had anything to do with it, but I compiled and saved them. Then I committed the changes and afterwards, the errors were gone.

However, I’ve been _completely unable_ to get rid of the error for the LP\_Character itself, no matter how often I resaved and recompiled it (with or without actual changes to the Blueprint). I also tried saving and re-submitting all maps (though the Character was never initially placed), LP\_Character’s child blueprint, the GameMode (spawning the Character) and AIController (possessing it), and committed the changes. Nothing I did made any difference.

Obviously, I’ve closed and reopened the editor a couple of times. Opening the editor in a separate check-out shows the same message. Deleting the Intermediate/Saved directory also had no effect.

FWIW, the LP\_Character implements two interfaces and is used pretty much everywhere in the project. The ContentBrowser lists two C++ classes but they’re both experimental and aren’t actually used in the game itself. The project started out a pure Blueprint project, so the LP\_Character Blueprint class is directly derived from the Character class. (I still tried recompiling the project, which predictably didn’t change anything.)

We’ve managed to remove another component (also on LP\_Character) without any such problems.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_359f4d3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_359f4d3c](https://forums.unrealengine.com/u/anonymous_user_359f4d3c)\
**Post date:** [September 3, 2015, 6:31pm UTC](https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893/2 "2015-09-03T18:31:21Z")

</div>

After spending some more time trying to fix this, I eventually ended up reverting the Character class back to a state when it still had the CombatComponent (and the component still existed). I then played around some more.

It turns out the _correct_ way to get rid of a component is to just use _Force Delete_ to remove it from any of its owning actors.

Doing anything else meant the Character kept a reference to the component in its Variable list after I had already removed the component and even after I had deleted the component with _Force Delete_. This is completely counter-intuitive. In fact, it was the big warning that made me make sure to remove it from Character before deleting the component itself, but that was what caused this mess.

I’m leaving this here as an answer in case it helps anyone else.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2709d010](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2709d010](https://forums.unrealengine.com/u/anonymous_user_2709d010)\
**Post date:** [March 31, 2017, 11:09am UTC](https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893/3 "2017-03-31T11:09:39Z")

</div>

Also check out this answer here: [Failed Import : Array Property - Blueprint - Epic Developer Community Forums](https://answers.unrealengine.com/questions/55037/failed-import-array-property.html) it may help in similar situations.

---

<div class="post-metadata">

**Author:** ![JonathanArmstrong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JonathanArmstrong](https://forums.unrealengine.com/u/JonathanArmstrong)\
**Post date:** [October 5, 2020, 4:58pm UTC](https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893/4 "2020-10-05T16:58:00Z")

</div>

Thanks. This seems helpful. It seemed like they just enabled “instance editable” on the variable in-question.

---

<div class="post-metadata">

**Author:** ![JonathanArmstrong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JonathanArmstrong](https://forums.unrealengine.com/u/JonathanArmstrong)\
**Post date:** [October 5, 2020, 5:00pm UTC](https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893/5 "2020-10-05T17:00:10Z")

</div>

Most of these seem to be related to the blueprint macro library/blueprint function library, for me (like it can’t find some object, even though navigating to the object/variable proves that it is there).

---

<div class="post-metadata">

**Author:** ![JonathanArmstrong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JonathanArmstrong](https://forums.unrealengine.com/u/JonathanArmstrong)\
**Post date:** [October 5, 2020, 5:07pm UTC](https://forums.unrealengine.com/t/how-can-i-get-rid-of-the-failed-import-for-objectproperty-warning/330893/6 "2020-10-05T17:07:52Z")

</div>

This seems related to a delegate calling a blueprint function library/blueprint macro library (especially, which involves a pure cast of an item) directly, from an event graph or similar area on a blueprint. These must be “checked” on editor open and fired just like the event tick on the anim BP is always running in the background, in realtime, when an ABP is opened. It must be a false positive, as it has never actually caused me an obvious issue related to those “unloaded” objects.

 ![317360-unreal-failedtoimportforedgraph-01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/f/e5fa26d91e0dc27637df03cf95a7d277f421b9c2.jpeg)
