# After importing the datasmith runtime, the program crashes when exiting the runtime.

**URL:** <https://forums.unrealengine.com/t/after-importing-the-datasmith-runtime-the-program-crashes-when-exiting-the-runtime/1112402>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine, question, Datasmith-Runtime\
**Created:** [April 18, 2023, 2:47pm UTC](https://forums.unrealengine.com/t/after-importing-the-datasmith-runtime-the-program-crashes-when-exiting-the-runtime/1112402 "2023-04-18T14:47:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![loveulb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loveulb/32/607076_2.png) [@loveulb](https://forums.unrealengine.com/u/loveulb)\
**Post date:** [April 18, 2023, 2:47pm UTC](https://forums.unrealengine.com/t/after-importing-the-datasmith-runtime-the-program-crashes-when-exiting-the-runtime/1112402/1 "2023-04-18T14:47:52Z")

</div>

When I import a simple model into the scene, there is no problem.  
But if I try to import an entire scene at runtime, exit the runtime, or reset the datasmith runtime actor, the program will crash. And when I packaged the program, I also encountered an error message as follows:

Assertion failed: Pair != nullptr [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Map.h] [Line: 656]

0x00007ff6f33a8a16 game.exe!DatasmithRuntime::FSceneImporter::DeleteAsset() []  
0x00007ff6f33aa9dc game.exe!DatasmithRuntime::FSceneImporter::DeleteData() []  
0x00007ff6f33f7abc game.exe!DatasmithRuntime::FSceneImporter::Tick() []  
0x00007ff6fa3b9106 game.exe!FTickableGameObject::TickObjects() []  
0x00007ff6f9712671 game.exe!UGameEngine::Tick() []  
0x00007ff6f1a1728f game.exe!FEngineLoop::Tick() []  
0x00007ff6f1a3085e game.exe!GuardedMain() []  
0x00007ff6f1a3093a game.exe!GuardedMainWrapper() []  
0x00007ff6f1a33876 game.exe!LaunchWindowsStartup() []  
0x00007ff6f1a452c4 game.exe!WinMain() []  
0x00007ff6fb92541a game.exe!\_\_scrt\_common\_main\_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe\_common.inl:288]  
0x00007ffa030b269d KERNEL32.DLL!UnknownFunction []  
0x00007ffa0508a9f8 ntdll.dll!UnknownFunction []

The operation after import is ok, but it cannot exit normally. Even if I destroy all the additional actors of the datasmith runtime actor, reset the datasmith runtime actor will still result in an error.

---

<div class="post-metadata">

**Author:** ![loveulb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loveulb/32/607076_2.png) [@loveulb](https://forums.unrealengine.com/u/loveulb)\
**Post date:** [April 18, 2023, 3:35pm UTC](https://forums.unrealengine.com/t/after-importing-the-datasmith-runtime-the-program-crashes-when-exiting-the-runtime/1112402/2 "2023-04-18T15:35:11Z")

</div>

I am using UE5.1.1 version.  
Computer configuration:  
amd 3900x  
rtx4090  
ddr4 3600 32G

---

<div class="post-metadata">

**Author:** ![Heixen\_Burger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heixen\_Burger](https://forums.unrealengine.com/u/Heixen_Burger)\
**Post date:** [April 20, 2023, 4:29am UTC](https://forums.unrealengine.com/t/after-importing-the-datasmith-runtime-the-program-crashes-when-exiting-the-runtime/1112402/3 "2023-04-20T04:29:42Z")

</div>

Hello, I am getting same issue. Did you solve it?  
Is there any workaround?

---

<div class="post-metadata">

**Author:** ![loveulb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loveulb/32/607076_2.png) [@loveulb](https://forums.unrealengine.com/u/loveulb)\
**Post date:** [April 20, 2023, 4:39am UTC](https://forums.unrealengine.com/t/after-importing-the-datasmith-runtime-the-program-crashes-when-exiting-the-runtime/1112402/4 "2023-04-20T04:39:20Z")

</div>

Not resolved.I have tried different methods,At present, I can only confirm that this issue will not be encountered when the datasmith folder has a capacity of less than 100M.

---

<div class="post-metadata">

**Author:** ![christeve7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christeve7](https://forums.unrealengine.com/u/christeve7)\
**Post date:** [June 4, 2024, 3:42am UTC](https://forums.unrealengine.com/t/after-importing-the-datasmith-runtime-the-program-crashes-when-exiting-the-runtime/1112402/6 "2024-06-04T03:42:31Z")

</div>

I have the same problem as yours, I want to try to split the datasmith file into 3 or 4 files.  
Maybe in this way the problem would be solved.  
But I don’t know how to split datasmith file without destroying the model data.
