Announcement

Collapse
No announcement yet.

Problems with making blueprints of classes with custom components - 4.5.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems with making blueprints of classes with custom components - 4.5.1

    I'm having trouble making blueprints of classes that contain my custom component classes. For example
    .h
    Code:
    UPROPERTY(Transient)
    		TSubobjectPtr<class UInteractFollowComponent> FollowOne;
    .cpp
    Code:
    FollowOne = PCIP.CreateDefaultSubobject<UInteractFollowComponent>(this, TEXT("FollowOne"));
    My actor extends SkeletalMeshActor, and my custom components extend SkeletalMeshComponent.
    I can make a blueprint, but when I try to switch to the Components tab, I get this error and it crashes.

    Code:
    Fatal error: [File:F:\Unreal46\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2035] 
    Transient property ObjectProperty /Script/SixenseAPI_Project.VRWeapon:ScopeCam contains a reference to non-transient subobject Scope_Camera.
    
    
    KERNELBASE.dll!UnknownFunction (0x000007fefcfb940d) + 0 bytes [UnknownFile:0]
    UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() (0x000007febab47234) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
    UE4Editor-Core.dll!FMsg::Logf__VA() (0x000007feba9d979f) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\core\private\misc\outputdevice.cpp:522]
    UE4Editor-CoreUObject.dll!FPostConstructInitializeProperties::~FPostConstructInitializeProperties() (0x000007febc776b88) + 200 bytes [f:\unreal46\unrealengine\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2035]
    UE4Editor-CoreUObject.dll!StaticConstructObject() (0x000007febc7b5087) + 118 bytes [f:\unreal46\unrealengine\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2178]
    UE4Editor-Engine.dll!ConstructObject<AActor>() (0x000007feb5573f41) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\coreuobject\public\uobject\class.h:2507]
    UE4Editor-Engine.dll!UWorld::SpawnActor() (0x000007feb55c9e2a) + 55 bytes [f:\unreal46\unrealengine\engine\source\runtime\engine\private\levelactor.cpp:301]
    UE4Editor-Kismet.dll!FSCSEditorViewportClient::UpdatePreviewActorForBlueprint() (0x000007feb3e460ab) + 82 bytes [f:\unreal46\unrealengine\engine\source\editor\kismet\private\scseditorviewportclient.cpp:936]
    UE4Editor-Kismet.dll!FSCSEditorViewportClient::InvalidatePreview() (0x000007feb3df5910) + 0 bytes [f:\unreal46\unrealengine\engine\source\editor\kismet\private\scseditorviewportclient.cpp:687]
    UE4Editor-Kismet.dll!SSCSEditorViewport::Tick() (0x000007feb3e421f0) + 0 bytes [f:\unreal46\unrealengine\engine\source\editor\kismet\private\sscseditorviewport.cpp:250]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26ba72) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:257]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-SlateCore.dll!SWidget::TickWidgetsRecursively() (0x000007feba26bb02) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slatecore\private\widgets\swidget.cpp:261]
    UE4Editor-Slate.dll!FSlateApplication::TickWindowAndChildren() (0x000007feba4d769a) + 67 bytes [f:\unreal46\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:572]
    UE4Editor-Slate.dll!FSlateApplication::TickWindowAndChildren() (0x000007feba4d77c3) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:577]
    UE4Editor-Slate.dll!FSlateApplication::Tick() (0x000007feba4d707d) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:906]
    UE4Editor.exe!FEngineLoop::Tick() (0x000000013f97b2a9) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:2154]
    UE4Editor.exe!GuardedMain() (0x000000013f970c3e) + 0 bytes [f:\unreal46\unrealengine\engine\source\runtime\launch\private\launch.cpp:133]
    UE4Editor.exe!GuardedMainWrapper() (0x000000013f970caa) + 5 bytes [f:\unreal46\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
    UE4Editor.exe!WinMain() (0x000000013f97c859) + 17 bytes [f:\unreal46\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
    UE4Editor.exe!__tmainCRTStartup() (0x000000013f97d789) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
    kernel32.dll!UnknownFunction (0x0000000076cb59ed) + 0 bytes [UnknownFile:0]
    ntdll.dll!UnknownFunction (0x0000000076eec541) + 0 bytes [UnknownFile:0]
    ntdll.dll!UnknownFunction (0x0000000076eec541) + 0 bytes [UnknownFile:0]
    I get the error for stock components as well when using Transient.
    However, if I make them UProperty() instead of UProperty(Transient), then I can no longer save the blueprint and I get errors like this when I try.

    Code:
    Can't save ../../../../UnrealProjects/SixenseAPI_Project/Content/Weapons/AssaultRifle/DarknessAR/NewBlueprint.uasset: Graph is linked to private object(s) in an external package.
    External Object(s):
    ItemGrip
    NewBlueprint_C_1
    PersistentLevel
    World_3
    /Engine/Transient
    ...
      
    Try to find the chain of references to that object (may take some time)?
    Last edited by BlackFangTech; 11-30-2014, 06:26 PM.

    Check out my discord -> https://discord.gg/kQdVwJ3

    Follow us on twitter to get updates on new products and special offers -> https://twitter.com/BlackFangTech

    Black Fang Technologies' products -> https://www.unrealengine.com/marketp...20Technologies
Working...
X