# Bug (4.12): Failed Import for Spline Component

**URL:** <https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944>\
**Category:** Blueprint\
**Tags:** bug, unreal-engine, import, editor, UE4, question, Blueprint\
**Created:** [July 4, 2016, 10:26pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944 "2016-07-04T22:26:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_eff69463](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_eff69463](https://forums.unrealengine.com/u/anonymous_user_eff69463)\
**Post date:** [July 4, 2016, 10:26pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/1 "2016-07-04T22:26:24Z")

</div>

Hi,

It is possible to create a very simple blueprint which creates an Import Failed error upon loading a level (via the Editor) which contains an instance of this blueprint.

Steps to reproduce:

**1 - Create the file “Kangaroo.cpp” with the following content:**

```
#include "MYPROJECT.h"
#include "Kangaroo.h"
#include "Runtime/Engine/Classes/Components/SplineComponent.h"

AKangaroo::AKangaroo(const FObjectInitializer& ObjectInitializer)
    : Super(ObjectInitializer)
{
    PrimaryActorTick.bCanEverTick = true;
    if (this->Role != ROLE_Authority) { return; }
    SplineComponent = CreateDefaultSubobject<USplineComponent>(TEXT("Path Cycle"));
    check(SplineComponent != nullptr);
}

```

**2- Create “Kangaroo.h” with the following content:**

```
#pragma once
#include "MYPROJECT.h"
#include "Kangaroo.generated.h"

class USplineComponent;

UCLASS(Config = Game)
class ROKH_API AKangaroo : public AActor
{
    GENERATED_UCLASS_BODY()
public:
    USplineComponent* SplineComponent;
};

```

**3- Compile and launch the Editor.**

**4- Derive a blueprint from the actor Kangaroo.**

**5- Drop this blueprint into the current level to instantiate it.**

**6- Save the level, exit the Editor and restart it on that level.**

**7- Notice that the OutputLog window now boasts this error message:**

```
LoadErrors:Error: Error /Game/Maps/GameTesting : Failed import for SplineComponent /Game/Developers/LaurentG/Kangaroo_BP.Default__Kangaroo_BP_C:Path Cycle

```

Cheers,

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [July 5, 2016, 6:55pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/2 "2016-07-05T18:55:59Z")

</div>

Hello,

I’ve been able to reproduce your issue, and have entered a bug report, UE-32800. Thank you for your report.

Have a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_eff69463](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_eff69463](https://forums.unrealengine.com/u/anonymous_user_eff69463)\
**Post date:** [July 6, 2016, 3:01pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/3 "2016-07-06T15:01:33Z")

</div>

Thanks for that Sean.  
I am eagerly looking forward to the fix. 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_eff69463](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_eff69463](https://forums.unrealengine.com/u/anonymous_user_eff69463)\
**Post date:** [July 6, 2016, 3:10pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/4 "2016-07-06T15:10:21Z")

</div>

Is there any way to have access to that bug report and be informed of when it is fixed? I see no URL pointing to it in your anwer.  
Thanks,

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [July 6, 2016, 3:13pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/5 "2016-07-06T15:13:39Z")

</div>

Currently, we have no way for the public to track bug reports. We provide the bug number solely for reference purposes. With that being said, I’ll be sure to come back and provide updates as they become available.

---

<div class="post-metadata">

**Author:** ![Fabre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fabre](https://forums.unrealengine.com/u/Fabre)\
**Post date:** [July 28, 2016, 5:11pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/6 "2016-07-28T17:11:44Z")

</div>

Hi Sean, I have the same problem with USceneComponent and UStaticMeshComponent, but only on one pc . Do you have any ETA about UE-32800

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [July 28, 2016, 5:30pm UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/7 "2016-07-28T17:30:54Z")

</div>

Hello,

You can track the status of this issue here: [Unreal Engine Issues and Bug Tracker (UE-32800)](https://issues.unrealengine.com/issue/UE-32800)

Have a great day

---

<div class="post-metadata">

**Author:** ![NomadMonkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NomadMonkey](https://forums.unrealengine.com/u/NomadMonkey)\
**Post date:** [July 29, 2016, 9:58am UTC](https://forums.unrealengine.com/t/bug-4-12-failed-import-for-spline-component/362944/8 "2016-07-29T09:58:10Z")

</div>

Hi Sean, I found that -run=resavepackages will fix all “Failed import for” errors.
