Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Bug (4.12): Failed Import for Spline Component.


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
     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


Product Version: UE 4.12
more ▼

asked Jul 04 '16 at 10:26 PM in Bug Reports

avatar image

11 7 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


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

more ▼

answered Jul 05 '16 at 06:55 PM

avatar image

Sean L ♦♦ STAFF
43.6k 485 152 442

avatar image Laurent.Nvizzio Jul 06 '16 at 03:01 PM

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

avatar image Laurent.Nvizzio Jul 06 '16 at 03:10 PM

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,

avatar image Sean L ♦♦ STAFF Jul 06 '16 at 03:13 PM

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.

avatar image Fabre Jul 28 '16 at 05:11 PM

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

avatar image Sean L ♦♦ STAFF Jul 28 '16 at 05:30 PM


You can track the status of this issue here: https://issues.unrealengine.com/issue/UE-32800

Have a great day

avatar image NomadMonkey Jul 29 '16 at 09:58 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question