# import catpart at runtime (not working on package)

**URL:** <https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619>\
**Category:** Blueprint\
**Tags:** Datasmith, unreal-engine, CAD, Blueprint, question, Datasmith-Runtime\
**Created:** [September 28, 2023, 4:24pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619 "2023-09-28T16:24:21Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ale\_cadland](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ale\_cadland](https://forums.unrealengine.com/u/Ale_cadland)\
**Post date:** [September 28, 2023, 4:24pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/1 "2023-09-28T16:24:21Z")

</div>

Hello, I’m trying to import a catpart (catia file) at runtime using Datasmith Interchange scripting “load file” node. What’s really strange is that I can achieve the procedure in editor but, if I package the project (debug or development), it doesn’t works.  
The code is really simple.

 ![catpart_import_issue_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/7/347dd26bd4c93f4aeab1d5b3ee557b2a76b1f2f8.png)  
it works in editor  
 ![catpart_import_issue_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/7/437c2125e3a5e0046d6c41e154ff8a6ede10d386.jpeg)  
but not when packaged  
 ![catpart_import_issue_3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/d/1ed71633bf3f96cca0bf0b83160af5ce229f0392.jpeg)  
Am I missing something?

---

<div class="post-metadata">

**Author:** ![Michael\_page](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michael_page/32/911378_2.png) [@Michael\_page](https://forums.unrealengine.com/u/Michael_page)\
**Post date:** [September 28, 2023, 11:52pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/2 "2023-09-28T23:52:33Z")

</div>

Same thing for me with a STEP file.

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [September 29, 2023, 1:53pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/3 "2023-09-29T13:53:57Z")

</div>

@Michael_page @Ale_cadland  
can you check your log file of your package game, in saved/logs of the package game folder to see what might be the issue.

---

<div class="post-metadata">

**Author:** ![Ale\_cadland](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ale\_cadland](https://forums.unrealengine.com/u/Ale_cadland)\
**Post date:** [September 29, 2023, 2:25pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/4 "2023-09-29T14:25:44Z")

</div>

Here some rows that might be of interest in the saved/logs/project.log:

```auto
LogWindows: Failed to load 'aqProf.dll' (GetLastError=126)
LogWindows: File 'aqProf.dll' does not exist
LogProfilingDebugging: Loading WinPixEventRuntime.dll for PIX profiling (from ../../../Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126)
LogWindows: File 'VtuneApi.dll' does not exist
LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=126)
LogWindows: File 'VtuneApi32e.dll' does not exist
LogWindows: Custom abort handler registered for crash reporting.
LogCore: Display: UnrealTraceServer: Unable to launch the trace store with '"../../../Engine//Binaries/Win64/UnrealTraceServer.exe" fork' (00000002)
.
.
.
LogInit: Session CrashGUID >====================================================
         Session CrashGUID > UECC-Windows-9824C65D4F90378BB

         Session CrashGUID >====================================================
LogStreaming: Warning: Failed to read file 'C:/Users/AlessandroGabrielli/Desktop/leonardo/catia_runtime_eseguibile/Windows/Cloud/IoStoreOnDemand.ini' error.
.
.
.
LogWindows: Failed to load 'WinPixGpuCapturer.dll' (GetLastError=126)
LogWindows: File 'WinPixGpuCapturer.dll' does not exist
PixWinPlugin: PIX capture plugin failed to initialize! Check that the process is launched from PIX.
.
.
.
[2023.09.29-14.16.00:856][0]LogUObjectGlobals: Warning: Failed to find object 'Object /DatasmithContent/Datasmith/DatasmithAreaLight.DatasmithAreaLight'
.
.
.
[2023.09.29-14.16.01:384][0]LogCADInterfaces: Warning: Failed to load CADInterfaces module. Plug-in may not be functional.

```

here is the file  
[catia\_runtime.log](https://forums.unrealengine.com/uploads/short-url/9C5A4xQR4j6ednamZzrcYTrB6Ml.log) (144.8 KB)

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [September 29, 2023, 2:56pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/5 "2023-09-29T14:56:06Z")

</div>

How do you start the import process? is it on begin play or on a button push?

Do you have “Datasmith Interchange” and “Datasmith Runtime” plugins on.

---

<div class="post-metadata">

**Author:** ![Ale\_cadland](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ale\_cadland](https://forums.unrealengine.com/u/Ale_cadland)\
**Post date:** [September 29, 2023, 3:30pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/6 "2023-09-29T15:30:06Z")

</div>

> [@UE\_FlavienP](#):
>
> How do you start the import process? is it on begin play or on a button push?

I tryied both ways.

> [@UE\_FlavienP](#):
>
> Do you have “Datasmith Interchange” and “Datasmith Runtime” plugins on.

Yes

---

<div class="post-metadata">

**Author:** ![Michael\_page](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michael_page/32/911378_2.png) [@Michael\_page](https://forums.unrealengine.com/u/Michael_page)\
**Post date:** [October 2, 2023, 6:20pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/7 "2023-10-02T18:20:00Z")

</div>

Hi @Ale_cadland,

I have the same issue in UE 5.3.1. I tried with a blueprint similar to yours and also with others, like the scene import process, but each time it works in the editor but not in the packaged game.

Did you manage to resolve this problem?

---

<div class="post-metadata">

**Author:** ![Ale\_cadland](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ale\_cadland](https://forums.unrealengine.com/u/Ale_cadland)\
**Post date:** [October 3, 2023, 2:43pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/8 "2023-10-03T14:43:28Z")

</div>

@Michael_page change the asset path of the “make datasmith interchange import content”

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [October 4, 2023, 8:28am UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/9 "2023-10-04T08:28:08Z")

</div>

I could not manage to import either on the Version of the engine from the Launcher.  
Something might be missing.

What warnings do you get in the log file? That it cannot find the CAD libraries module?

---

<div class="post-metadata">

**Author:** ![Michael\_page](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michael_page/32/911378_2.png) [@Michael\_page](https://forums.unrealengine.com/u/Michael_page)\
**Post date:** [October 4, 2023, 10:27am UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/10 "2023-10-04T10:27:02Z")

</div>

Yes, it’s the following warning :

`LogCADInterfaces: Warning: Failed to load CADInterfaces module. Plug-in may not be functional.`

---

<div class="post-metadata">

**Author:** ![Michael\_page](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michael_page/32/911378_2.png) [@Michael\_page](https://forums.unrealengine.com/u/Michael_page)\
**Post date:** [October 9, 2023, 3:20pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/11 "2023-10-09T15:20:08Z")

</div>

@UE_FlavienP , has there been any developments regarding this issue?

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [October 13, 2023, 10:36am UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/12 "2023-10-13T10:36:09Z")

</div>

Not at the moment, the dev is away will see with him when he comes back.

---

<div class="post-metadata">

**Author:** ![aabng](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aabng](https://forums.unrealengine.com/u/aabng)\
**Post date:** [November 15, 2023, 1:33am UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/13 "2023-11-15T01:33:01Z")

</div>

@UE_FlavienP hey, just bumping this to see if there’s any news?

---

<div class="post-metadata">

**Author:** ![Michael\_page](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michael_page/32/911378_2.png) [@Michael\_page](https://forums.unrealengine.com/u/Michael_page)\
**Post date:** [November 24, 2023, 12:32am UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/14 "2023-11-24T00:32:12Z")

</div>

I tried on 5.3.2 and I have the same problem.

---

<div class="post-metadata">

**Author:** ![Flav-yo1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flav-yo1](https://forums.unrealengine.com/u/Flav-yo1)\
**Post date:** [May 10, 2024, 7:33am UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/15 "2024-05-10T07:33:55Z")

</div>

I just have the same problem on 5.4, using imported datasmith from archicad for data visualization. In editor gameplay works, just packaged nothing works. I’m struggling with it.

---

<div class="post-metadata">

**Author:** ![Michael\_page](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michael_page/32/911378_2.png) [@Michael\_page](https://forums.unrealengine.com/u/Michael_page)\
**Post date:** [May 10, 2024, 12:49pm UTC](https://forums.unrealengine.com/t/import-catpart-at-runtime-not-working-on-package/1315619/16 "2024-05-10T12:49:05Z")

</div>

Hi,

On my side, the “Connect” node in Load File is not available at all in 5.4.1. So, I remove this function from my code. However, if you use the Datasmith Import Actor, you will be able to use .udatasmith file directly.

But if you found a way to import other CAD format, I’ll be interested 🙂
