void UAIScene::EmptySceneTestExport()
{
aiScene testscene;
FString dir = FPaths::ProjectDir();
dir += FString(TEXT("Export/Scenes/test.fbx"));
Exporter exporter;
if (exporter.Export(&testscene, "fbx", TCHAR_TO_ANSI(*dir)) != AI_SUCCESS)
{
UE_LOG(LogAssimp, Fatal, TEXT("Exporting scene to fbx failed."));
}
}
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000
assimp
assimp
assimp
assimp
UnrealEditor_UE_Assimp!UAIScene::EmptySceneTestExport() [C:\Users\...\Documents\UnrealProjects\MyProject\Plugins\UE4_Assimp\Source\UE_Assimp\Private\AIScene.cpp:448]
UnrealEditor_CoreUObject!UObject::execCallMathFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1054]
UnrealEditor_CoreUObject!ProcessLocalScriptFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1188]
UnrealEditor_CoreUObject!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1018]
UnrealEditor_CoreUObject!ProcessLocalFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1258]
UnrealEditor_CoreUObject!ProcessLocalScriptFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1188]
UnrealEditor_CoreUObject!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1018]
UnrealEditor_CoreUObject!ProcessLocalFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1258]
UnrealEditor_CoreUObject!ProcessLocalScriptFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1188]
UnrealEditor_CoreUObject!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1018]
UnrealEditor_CoreUObject!ProcessLocalFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1258]
UnrealEditor_CoreUObject!ProcessLocalScriptFunction() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1188]
UnrealEditor_CoreUObject!UObject::ProcessInternal() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1285]
UnrealEditor_CoreUObject!UFunction::Invoke() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:6455]
UnrealEditor_CoreUObject!UObject::ProcessEvent() [C:\Users\...\Documents\UE\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2116]
UnrealEditor_Engine!AActor::ProcessEvent() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\Actor.cpp:1055]
UnrealEditor_Engine!FInputActionUnifiedDelegate::Execute() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Classes\Components\InputComponent.h:302]
UnrealEditor_Engine!UPlayerInput::ProcessInputStack() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\UserInterface\PlayerInput.cpp:1433]
UnrealEditor_EnhancedInput!UEnhancedPlayerInput::ProcessInputStack() [C:\Users\...\Documents\UE\Engine\Plugins\EnhancedInput\Source\EnhancedInput\Private\EnhancedPlayerInput.cpp:257]
UnrealEditor_Engine!APlayerController::ProcessPlayerInput() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\PlayerController.cpp:2707]
UnrealEditor_Engine!APlayerController::TickPlayerInput() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\PlayerController.cpp:4955]
UnrealEditor_Engine!APlayerController::PlayerTick() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\PlayerController.cpp:2311]
UnrealEditor_Engine!APlayerController::TickActor() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\PlayerController.cpp:5107]
UnrealEditor_Engine!FActorTickFunction::ExecuteTick() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\Actor.cpp:222]
UnrealEditor_Engine!FTickFunctionTask::DoTask() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:284]
UnrealEditor_Engine!TGraphTask<FTickFunctionTask>::ExecuteTask() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1348]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:760]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:649]
UnrealEditor_Core!FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:2203]
UnrealEditor_Engine!FTickTaskSequencer::ReleaseTickGroup() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:565]
UnrealEditor_Engine!FTickTaskManager::RunTickGroup() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\TickTaskManager.cpp:1592]
UnrealEditor_Engine!UWorld::RunTickGroup() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:794]
UnrealEditor_Engine!UWorld::Tick() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1537]
UnrealEditor_UnrealEd!UEditorEngine::Tick() [C:\Users\...\Documents\UE\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1890]
UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [C:\Users\...\Documents\UE\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:517]
UnrealEditor!FEngineLoop::Tick() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5367]
UnrealEditor!GuardedMain() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Launch\Private\Launch.cpp:202]
UnrealEditor!GuardedMainWrapper() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107]
UnrealEditor!LaunchWindowsStartup() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244]
UnrealEditor!WinMain() [C:\Users\...\Documents\UE\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:282]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll```