4.7.5
- Create a new actor class and use the code snippet below to initialize it with a root box component.
- Load the editor and drag the actor onto a new map.
- Save the map and create another empty map.
- Load in the saved map w/the actor.
Code Snippet
ARoom::ARoom(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = false;
// Create root component as a box
auto box = ObjectInitializer.CreateDefaultSubobject<UBoxComponent>(this, TEXT("Box"));
box->SetBoxExtent(FVector(50, 50, 50));
RootComponent = box;
}
Crash Report
MachineId:DCE8D35941A624B76AF82E88BE87A65A
Unknown exception - code 00000001 (first/second chance not available)
Fatal error: [File:D:\UE4\UnrealEngine\Engine\Source\Runtime\CoreUObject\Private\UObject\LinkerLoad.cpp] [Line: 4014]
Bad name index -1//39
KERNELBASE + 37901 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 292 bytes [d:\ue4\unrealengine\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FMsg::Logf__VA() + 463 bytes [d:\ue4\unrealengine\engine\source\runtime\core\private\misc\outputdevice.cpp:531]
UE4Editor_CoreUObject!ULinkerLoad::operator<<() + 212 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:4014]
UE4Editor_CoreUObject!operator<<() + 36 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\public\uobject\propertytag.h:80]
UE4Editor_CoreUObject!UStruct::SerializeTaggedProperties() + 342 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\class.cpp:793]
UE4Editor_CoreUObject!UObject::SerializeScriptProperties() + 292 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\obj.cpp:903]
UE4Editor_CoreUObject!UObject::Serialize() + 581 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\obj.cpp:845]
UE4Editor_Engine!USceneComponent::Serialize() + 22 bytes [d:\ue4\unrealengine\engine\source\runtime\engine\private\scenecomponent.cpp:1253]
UE4Editor_Engine!UPrimitiveComponent::Serialize() + 21 bytes [d:\ue4\unrealengine\engine\source\runtime\engine\private\primitivecomponent.cpp:495]
UE4Editor_CoreUObject!ULinkerLoad::Preload() + 3148 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\linkerload.cpp:2972]
UE4Editor_CoreUObject!EndLoad() + 974 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1092]
UE4Editor_CoreUObject!LoadPackageInternal() + 2248 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:906]
UE4Editor_CoreUObject!ResolveName() + 1483 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:610]
UE4Editor_CoreUObject!StaticLoadObject() + 655 bytes [d:\ue4\unrealengine\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:697]
UE4Editor_ContentBrowser!FAssetData::GetAsset() + 183 bytes [d:\ue4\unrealengine\engine\source\runtime\assetregistry\public\assetdata.h:178]
UE4Editor_ContentBrowser!SContentBrowser::OnAssetsActivated() + 1179 bytes [d:\ue4\unrealengine\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:1576]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TTypeWrapper<void> __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::Execute() + 87 bytes [d:\ue4\unrealengine\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::ExecuteIfSafe() + 71 bytes [d:\ue4\unrealengine\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:388]
UE4Editor_ContentBrowser!SAssetView::OnListMouseButtonDoubleClick() + 835 bytes [d:\ue4\unrealengine\engine\source\editor\contentbrowser\private\sassetview.cpp:3207]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl(TSharedPtr<FAssetViewItem,0>)>::Execute() + 97 bytes [d:\ue4\unrealengine\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:282]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>)>::ExecuteIfSafe() + 90 bytes [d:\ue4\unrealengine\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:388]
UE4Editor_ContentBrowser!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0> >::ExecuteIfBound() + 86 bytes [d:\ue4\unrealengine\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:518]
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() + 63 bytes [d:\ue4\unrealengine\engine\source\runtime\slate\public\widgets\views\slistview.h:693]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() + 223 bytes [d:\ue4\unrealengine\engine\source\runtime\slate\public\widgets\views\stablerow.h:252]
UE4Editor_Slate!<lambda_58ede244782f1e594383d45514e1d7c8>::operator()() + 30 bytes [d:\ue4\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3918]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_58ede244782f1e594383d45514e1d7c8> >() + 189 bytes [d:\ue4\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:202]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDoubleClickEvent() + 471 bytes [d:\ue4\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3919]
UE4Editor_Slate!FSlateApplication::OnMouseDoubleClick() + 315 bytes [d:\ue4\unrealengine\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3900]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() + 3176 bytes [d:\ue4\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:1315]
UE4Editor_Core!FWindowsApplication::DeferMessage() + 318 bytes [d:\ue4\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:1669]
UE4Editor_Core!FWindowsApplication::ProcessMessage() + 4016 bytes [d:\ue4\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:742]
UE4Editor_Core!FWindowsApplication::AppWndProc() + 114 bytes [d:\ue4\unrealengine\engine\source\runtime\core\private\windows\windowsapplication.cpp:604]
user32 + 105425 bytes
user32 + 104666 bytes
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() + 118 bytes [d:\ue4\unrealengine\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:774]
UE4Editor!FEngineLoop::Tick() + 3737 bytes [d:\ue4\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:2233]
UE4Editor!GuardedMain() + 1404 bytes [d:\ue4\unrealengine\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\ue4\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\ue4\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]