How to use the new interchange pipeline to import meshes at runtime, packaged builds?

Hi everyone. I would like to use the new interchange pipeline plugin to import meshes at runtime in shipping builds, but I could not find any documentations or resources so far on the topic. I have tried it and made it to work in the editor, but in a packaged build, it is simply crashing, so i guess I may be missing something. Any help is appreciated. Thank you

2 Likes

For non CAD

you can use asset import task, that should use the default interchange pipeline

else you can use the interchange code

you have two functions one to import assets and one to import scene. They are not using the same pipelines, so you can either let the “override pipelines” empty and it will take default pipelines for assets or scene. Or you can force custom pipeline stack

For CAD file import you should do something like:

3 Likes

Thank you for your reply, I tried these, both import scene and import asset, but none of them works in a packaged game. They do work in the editor however. I am getting these error messages when trying it in a packaged build:


[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x3C1BA044191BF669 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x37A754E70E3BF084 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for AnimationPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x3CBEAC83880A0611 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for CommonMeshesProperties
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x59441751F39D984 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for CommonSkeletalMeshesAndAnimationsProperties
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x24B2F4D4C62335A2 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for MaterialPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x2C394FE5DDF5260B for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for MeshPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x1BA6F39E3BE926BE for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x4 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for TexturePipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export AnimationPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export CommonMeshesProperties
[2022.11.24-13.40.05:882][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export CommonSkeletalMeshesAndAnimationsProperties
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export MaterialPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export MeshPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export TexturePipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x3C1BA044191BF669 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x37A754E70E3BF084 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for AnimationPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x3CBEAC83880A0611 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for CommonMeshesProperties
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x59441751F39D984 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for CommonSkeletalMeshesAndAnimationsProperties
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x24B2F4D4C62335A2 for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for MaterialPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x2C394FE5DDF5260B for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x1 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for MeshPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x1BA6F39E3BE926BE for package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing export 0x4 in package /Interchange/Pipelines/DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Could not find class object for TexturePipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export AnimationPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export DefaultSceneAssetsPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export CommonMeshesProperties
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export CommonSkeletalMeshesAndAnimationsProperties
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export MaterialPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export MeshPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) /Interchange/Pipelines/DefaultSceneAssetsPipeline (0x30ACAF5D8C64A6E) - Skipped failed export TexturePipeline
[2022.11.24-13.40.05:883][ 38]LogUObjectGlobals: Warning: Failed to find object 'Object /Interchange/Pipelines/DefaultSceneAssetsPipeline.DefaultSceneAssetsPipeline'
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x15D9EBECEB59F7CB for package /Interchange/Pipelines/DefaultSceneLevelPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) - Could not find class object for DefaultSceneLevelPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) - Skipped failed export DefaultSceneLevelPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: Missing Dependency, missing script import 0x15D9EBECEB59F7CB for package /Interchange/Pipelines/DefaultSceneLevelPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Error: CreateExport: /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) - Could not find class object for DefaultSceneLevelPipeline
[2022.11.24-13.40.05:883][ 38]LogStreaming: Warning: SerializeExport: /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) /Interchange/Pipelines/DefaultSceneLevelPipeline (0x13BF64B7847ABA7A) - Skipped failed export DefaultSceneLevelPipeline
[2022.11.24-13.40.05:883][ 38]LogUObjectGlobals: Warning: Failed to find object 'Object /Interchange/Pipelines/DefaultSceneLevelPipeline.DefaultSceneLevelPipeline'
[2022.11.24-13.40.05:883][ 38]LogInterchangeEngine: [Pending] Importing
[2022.11.24-13.40.05:884][ 38]LogBlueprintUserMessages: [BP_FirstPersonCharacter_C_2147482498] false
[2022.11.24-13.40.05:884][ 38]LogInterchangeEngine: Error: [Failure] Import Done

Checking with dev.
Does that works if you enable datasmith interchange plugin and rebuild?

I have enabled all of the datasmith and interchange plugins. I am unable to package the app with it. This is the error I get:

UATHelper: Packaging (Windows): Unable to instantiate module 'InterchangeFbxParser': InterchangeFbxParser module can be build only on editor or program target.
UATHelper: Packaging (Windows): (referenced via ImportPipeline.uproject -> DatasmithInterchange.uplugin -> Interchange.uplugin)
UATHelper: Packaging (Windows): Took 1,0102646s to run dotnet.exe, ExitCode=6

For your UE version, do you build from source or get version from launcher?

In your Import Scene function do you override pipelines or not?

I got the version from the launcher.
I don’t override the pipelines.

When trying to package a shipping build, I get this error message. Is it expected?

UATHelper: Packaging (Windows): ERROR: Non-editor build cannot depend on non-redistributable modules. D:\TestForum51 (1)\Binaries\Win64\TestForum51-Win64-Shipping.exe depends on ‘SkeletalMeshUtilitiesCommon’.
UATHelper: Packaging (Windows): Dependant modules ‘InterchangeEngine’
PackagingResults: Error: Non-editor build cannot depend on non-redistributable modules. D:\TestForum51 (1)\Binaries\Win64\TestForum51-Win64-Shipping.exe depends on ‘SkeletalMeshUtilitiesCommon’.

1 Like

Hi had the same error with 5.1.1.

Any idea how to resolve it?

Could you help us out, please?

This error appear only when Datasmith Interchange is activated. When I desactive it, the code compile correctly.

If you build in development it should work.
This is fixed for 5.2.

2 Likes

ue 5.2 (compiled from source) “datasmith importer” plugin enabled, cannot package (shipping and development, empty project)(

if plugin disabled - packaged ok.

This might be somehow linked to Holo lens platform. I tried to disable it and failed)

1 Like

New, clean project; shipping; UE5.2 preview 1. Can’t package with “datasmith runtime” enabled(

ERROR: Non-editor build cannot depend on non-redistributable modules. … depends on ‘ProfileVisualizer’.

If packaging in development:
error LNK2001: unresolved external symbol __std_find_trivial_4

1 Like

Managed to package (only “development”) by disabling “geometry tools” plugin and all it’s dependents and it does import when I launch from editor, but “fatal error” at runtime(
tried both “automated” true and false

Tried Datasmith (*.glb), but it fails to generate distance fields so no Lumen and probably no Nanite(

look what I found)):

1 Like

minimal blueprint for both importing options:

works perfectly fine (including distance field generation; 5.2 preview 1) in editor and in “standalone game” launched from editor, but if packaged (shipping / development / debug, both import options) - fatal error(

*disable “Datasmith runtime” plugin for “shipping” packaging

Error: CreateExport: /Game/DefaultAssetsPipeline (0x7735356D7A539828) /Game/DefaultAssetsPipeline (0x7735356D7A539828) - Could not find class object for DefaultAssetsPipeline

1 Like

I will check for the disable “Datasmith Runtime” plugin

For your Error: can you try to add /interchange/ to the folder to be cooked

2 Likes

unfortunately still fatal error either on “get asset tools” or on “create source data”.

Maybe because I cannot enable “datasmith interchange” as:
ERROR: Non-editor build cannot depend on non-redistributable modules. …exe depends on ‘SkeletalMeshUtilitiesCommon’, ‘ProfileVisualizer’

Minimal project with level blueprint attached
MyProject2.rar (34.9 KB)

If anyone managed to make interchange pipeline work in shipping build, sample minimal project will be very much welcome))

Any chance that this issue will be fixed by the release of UE5.2? We would like to provide Datasmith directlink and the interchange pipeline importing too for our users.

I have so crash on 5.2 Preview1, that are different from your issue. And no crash on the 5.2 I build from source. When I have some time I will do more investigation.