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
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:
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â.
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.
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)
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
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)):
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
I will check for the disable âDatasmith Runtimeâ plugin
For your Error: can you try to add /interchange/ to the folder to be cooked
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.