Ue Importing Content 标志

Ue Importing Content

社区
kevinpbuckley
ue-importing-content

Import external assets into Unreal using the Interchange framework (UInterchangeManager, UInterchangePipelineBase, UInterchangeFactoryBase, UInterchangeTranslatorBase, UInterchangeSourceData) and the legacy FBX pipeline (UFbxFactory / UnFbx::FFbxImporter). Covers the three-stage Interchange pipeline (translate → pipeline → factory), pipeline stacks, format support (FBX, glTF/GLB, OBJ, USD, images, audio), mesh and texture import settings (units/axes, normals, lightmap UVs, Nanite, sRGB/compression), skeletal mesh skeleton assignment, import asset data (UInterchangeAssetImportData / UAssetImportData), and programmatic runtime import via C++, Blueprint, and Python. Use when importing DCC content, troubleshooting wrong scale/rotation/shading after import, scripting automated batch import, customising an import pipeline, or setting up a repeatable reimport workflow.

概览

发布者kevinpbuckley
代码仓库unreal-engine-skills
技能名称ue-importing-content
星标数
89
复刻数
9
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 kevinpbuckley 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ue Importing Content AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-importing-content
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinpbuckley/unreal-engine-skills.git /tmp/unreal-engine-skills
mkdir -p .claude/skills
cp -r /tmp/unreal-engine-skills/skills/core/ue-importing-content .claude/skills/ue-importing-content
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ue Importing Content,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ue Importing Content。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ue Importing Content 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Importing content

For generated organic surfaces, persistent shading seams or gray/default meshes after LOD reimport, read organic surfaces and material sections. It covers the section-to-slot mapping that component overrides alone cannot prove.

Most "it looks wrong in Unreal" problems are import-settings problems. Know the Interchange framework's data flow, the settings that change geometry and shading, and how assets store their import provenance so reimport stays predictable.

When to use this skill

  • Importing static meshes, skeletal meshes, textures, or audio from Blender, Maya, Substance Painter, or other DCC tools.
  • Wrong scale, rotation, flipped normals, or washed-out/over-saturated textures after import.
  • Setting up skeleton assignment and morph targets for character assets.
  • Writing automated batch import via UInterchangeManager in C++, Blueprint, or Python.
  • Customising an import pipeline (C++ subclass, Blueprint, or Python) to enforce project conventions.
  • Debugging why reimport does not pick up the expected source file or settings.

Pipelines: Interchange vs legacy

Interchange (default for FBX, glTF, GLB, OBJ, most images, audio) is the modern framework. Every import passes through three stages:

  1. Translator — reads the file into a format-neutral UInterchangeBaseNodeContainer (a graph of UInterchangeBaseNode objects representing meshes, bones, textures, etc.).
  2. Pipeline stack — a user-configured ordered list of UInterchangePipelineBase objects that transform translator nodes into factory nodes (what to create, with what settings).
  3. Factory — a UInterchangeFactoryBase subclass that creates the final UObject asset (e.g. UInterchangeStaticMeshFactory, UInterchangeTextureFactory).

The legacy FBX importer (UFbxFactory / UnFbx::FFbxImporter) handles FBX only when Interchange FBX is disabled. It has its own import dialog and options struct (UFbxImportUI). Both paths record source file data in a UAssetImportData-derived object on the asset.

See references/interchange-framework.md for a full breakdown of all Interchange classes, module locations, and the factory six-step protocol.

Supported formats

Asset typeInterchange formatsLegacy/other
Static meshFBX, glTF, GLB, OBJFBX (legacy)
Skeletal mesh + animationFBX, glTF, GLBFBX (legacy)
TexturePNG, TGA, JPEG, EXR, HDR, DDS, IES, PSD, BMP—
AudioWAV, AIF/AIFF, FLAC, OGG, OPUS, MP3—
Scene / level importFBX, glTF, GLB, MaterialXFBX scene legacy

FBX imports through Interchange by default in 5.8; revert to the legacy importer with the console variable Interchange.FeatureFlags.Import.FBX 0 (and .ToLevel 0 for scene import).

Units, scale, and axes

Unreal world units are centimetres. Meshes exported at the wrong scale require actor-level rescaling and break physics.

  • FBX: UInterchangeFbxTranslatorSettings::bConvertSceneUnit = true (default) converts to cm automatically. Prefer exporting at 1 unit = 1 cm from the DCC.
  • Axis: Unreal is left-handed, Z-up. bConvertScene = true (default) remaps Y/Z from right-handed sources. EInterchangeCoordinateSystemPolicy controls the exact strategy: MatchUpForwardAxes (default), MatchUpAxis, or KeepXYZAxes.
  • Apply all transforms / freeze rotation in the DCC before export; baked-in offsets appear as permanent root-bone offsets on skeletal meshes.

Mesh import settings that matter

These map to properties on UInterchangeGenericMeshPipeline (Interchange) or UFbxStaticMeshImportData / UFbxSkeletalMeshImportData (legacy):

SettingEffectCommon mistake
Combine Static Meshes (CombineStaticMeshesBehavior)Merges all meshes in the file into one SM (All/VisibleOnly/DoNotCombine)Leave on DoNotCombine when file has multiple independent assets
Normals / Tangents (Build > Recompute Normals/Tangents)Trust DCC normals vs let UE recomputeMismatch causes shading seams at UV splits
Generate Lightmap UVs (bGenerateLightmapUVs)Auto-generates a second UV channel for LightmassNeeded for baked lighting; off for pure Lumen
Build Nanite (bBuildNanite)Enables Nanite on static meshesOn by default in 5.8 Interchange; disable for low-poly props
LOD GroupAssigns Epic's LOD reduction presetsPick SmallProp, LargeDetail, etc. to match use case
Collision (bCollision)Imports/generates simple collisionPrefix meshes with UCX_, UBX_, USP_, UCP_ for custom shapes

Skeletal mesh–specific:

  • Skeleton (CommonSkeletalMeshesAndAnimationsProperties) — reuse one skeleton asset across compatible meshes so all animations are shareable.
  • Import Content Type — GeometryAndSkinningWeights, GeometryOnly, or SkinningWeightsOnly. Split imports can be parallelised for large character updates.
  • Import Morph Targets — imports blend shapes from FBX/glTF morph target data.
  • Create Physics Asset — auto-generates a UPhysicsAsset if none exists.

See references/mesh-and-texture-import.md for the full mesh and texture settings reference with source-verified property names.

Texture import settings that matter

SettingCorrect valueConsequence of wrong value
sRGBON for color/albedo; OFF for data mapsData maps (normal, roughness, metallic, masks) with sRGB ON look wrong in lighting
CompressionDefault (BC1/BC3) for color; Normalmap (BC5) for normals; Masks; HDR for EXR/HDRWrong compression costs memory or quality
Flip Normal Map Green ChannelMatch source and shader convention: OpenGL +Y maps generally need inversion for UE tangent space; DirectX -Y generally do notSpecular highlight in wrong direction
Detect Normal Map TextureON (default)Leave on; it sets sRGB=false and compression=Normalmap automatically
UDIM (bImportUDIMs)ON for assets with UDIM naming (_1001, _1002, …)Multi-tile textures import as separate unrelated assets

Texture compression and LOD group are stored on the UTexture2D asset; change them in the Texture Editor or set them in a custom pipeline's ExecutePostFactoryPipeline.

Import asset data and reimport

Every imported asset stores provenance in a UAssetImportData-derived subobject:

  • Interchange path: UInterchangeAssetImportData (subclass of UAssetImportData) stores the source file path, the translator settings, the pipeline list, and the node container snapshot. Accessible with UInterchangeAssetImportData::GetFromObject(Asset).
  • Legacy FBX path: UFbxAssetImportData / UFbxStaticMeshImportData (subclasses of UAssetImportData).
  • The base class UAssetImportData stores source file path, timestamp, and MD5 hash in FAssetImportInfo::FSourceFile entries — enabling reimport to detect stale files.

Reimport replays the same pipeline stack and settings stored in the import data. Call UInterchangeManager::ReimportAsset / ReimportAssetAsync programmatically; the manager reads UInterchangeAssetImportData to resolve the original source file.

See references/reimport-and-import-data.md for the full reimport workflow, programmatic API examples, and how to migrate legacy FBX import data.

Programmatic import via C++

cpp
// Create a source data handle pointing to a file on disk.
UInterchangeSourceData* Src =
    UInterchangeManager::CreateSourceData(TEXT("D:/Art/Rock.glb"));

// Build import parameters.
FImportAssetParameters Params;
Params.bIsAutomated = true;  // suppress dialogs

// Synchronous import (editor-only; blocking on game thread).
UInterchangeManager& Mgr = UInterchangeManager::GetInterchangeManager();
TArray<UObject*> Imported;
Mgr.ImportAsset(TEXT("/Game/Meshes"), Src, Params, Imported);

// Async import with a completion callback.
UE::Interchange::FAssetImportResultRef Result =
    Mgr.ImportAssetAsync(TEXT("/Game/Meshes"), Src, Params);
Result->OnDone([](UE::Interchange::FImportResult& R)
{
    for (UObject* Obj : R.GetImportedObjects())
    {
        UE_LOG(LogTemp, Log, TEXT("Imported: %s"), *Obj->GetName());
    }
});

Key API points:

  • UInterchangeManager is a singleton; use GetInterchangeManager() (native) or GetInterchangeManagerScripted() (Blueprint/Python callable).
  • FImportAssetParameters::OverridePipelines accepts a list of FSoftObjectPaths to bypass the project-default pipeline stack with a custom one.
  • FImportAssetParameters::bIsAutomated = true prevents any modal dialog from opening — essential for unattended batch import.
  • For runtime import in a cooked build, the Interchange content folder must be added to Project Settings > Packaging > Additional Asset Directories to Cook.

Writing a custom pipeline in C++

Subclass UInterchangePipelineBase and override the virtual pipeline hooks:

cpp
// MyImportPipeline.h
#pragma once
#include "InterchangePipelineBase.h"
#include "MyImportPipeline.generated.h"

UCLASS(BlueprintType, editinlinenew)
class MYMODULE_API UMyImportPipeline : public UInterchangePipelineBase
{
    GENERATED_BODY()

    /** Shown in the Interchange dialog; locked during reimport. */
    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "My Settings",
              meta = (ReimportRestrict = "true"))
    bool bEnforceNamingConvention = true;

protected:
    virtual void ExecutePipeline(
        UInterchangeBaseNodeContainer* NodeContainer,
        const TArray<UInterchangeSourceData*>& SourceDatas,
        const FString& ContentBasePath) override;

    virtual void ExecutePostFactoryPipeline(
        const UInterchangeBaseNodeContainer* NodeContainer,
        const FString& FactoryNodeKey,
        UObject* CreatedAsset,
        bool bIsAReimport) override;
};
  • ExecutePipeline fires after translation; add/modify factory nodes to control what assets get created and with what settings.
  • ExecutePostFactoryPipeline fires after the factory creates the asset but before PostEditChange; modify the live UObject here.
  • ExecutePostImportPipeline fires after PostEditChange and async build; use for post-build fixups (e.g. setting socket transforms that depend on render data).
  • Mark properties ReimportRestrict = "true" to prevent them being changed during reimport.

Register the pipeline asset in your project's pipeline stack via Project Settings > Engine > Interchange or pass it via FImportAssetParameters::OverridePipelines.

Naming conventions

SM_ static mesh · SK_ skeletal mesh · SKEL_ skeleton · T_ texture · M_ material · MI_ material instance · A_ / S_ sound · BP_ Blueprint · DA_ data asset · DT_ data table. Consistent prefixes make content browsable and scriptable.

Gotchas

  • Wrong scale — almost always DCC export units or bConvertSceneUnit mismatch; fix at source, not by scaling actors. A 100× scale error is common when Blender units = meters.
  • sRGB on for normal/data maps → wrong lighting; bDetectNormalMapTexture catches it for textures whose names follow conventions, but verify manually.
  • Reimporting against a different skeleton — animations bound to the old skeleton break; keep one skeleton per character rig.
  • CombineStaticMeshesBehavior set to combine for files with separate per-material meshes → single SM with multiple material slots instead of independent assets.
  • Missing lightmap UVs with baked lighting → splotchy shadows; enable bGenerateLightmapUVs or author a dedicated UV channel.
  • Interchange handles FBX by default in 5.8 — if a project depends on legacy FBX importer behavior, disable Interchange.FeatureFlags.Import.FBX intentionally.
  • Runtime import without cooking the Interchange folder → pipelines missing at runtime; add /Engine/Plugins/Interchange/Runtime/Content to packaging cook paths.
  • Large batches saturate the task graph — use ImportAssetAsync and throttle concurrent calls; UInterchangeManager::IsImporting() checks whether an import is in flight.

Version notes

  • Interchange is the default importer for glTF/GLB and most textures since UE 5.0; it has expanded each release. In 5.8 FBX imports through Interchange by default; the legacy importer remains available by disabling Interchange.FeatureFlags.Import.FBX.
  • UInterchangeAssetImportData replaces per-format import data classes for Interchange- handled assets; legacy paths still produce UFbxAssetImportData etc.
  • UInterchangeFbxTranslatorSettings::bUseUfbxParser (still experimental in 5.8) enables the ufbx SDK instead of the Autodesk FBX SDK — useful for open-source builds.

References & source material

Engine source (UE 5.8):

Core Interchange (under Engine/Source/Runtime/Interchange/):

  • Engine/Public/InterchangeManager.h — UInterchangeManager singleton, ImportAsset:648, ImportAssetAsync:682, ReimportAsset:711, CreateSourceData:804, CanReimport:634, GetTranslatorForSourceData:835, FImportAssetParameters:407.
  • Core/Public/InterchangeTranslatorBase.h — UInterchangeTranslatorBase:63, Translate():98, GetSupportedFormats():90, CanImportSourceData():70.
  • Core/Public/InterchangePipelineBase.h — UInterchangePipelineBase:219, ExecutePipeline:603, ExecutePostFactoryPipeline:612, ExecutePostImportPipeline:620, EInterchangePipelineContext:46, EInterchangePipelineTask:37.
  • Core/Public/InterchangeFactoryBase.h — UInterchangeFactoryBase:70, BeginImportAsset_GameThread:150, ImportAsset_Async:178, EndImportAsset_GameThread:194, SetupObject_GameThread:289, BuildObject_GameThread:302, FinalizeObject_GameThread:318.
  • Core/Public/InterchangeSourceData.h — UInterchangeSourceData:22, GetFilename(), SetFilename(), GetFileContentHash().
  • Engine/Public/InterchangeAssetImportData.h — UInterchangeAssetImportData:20, GetFromObject():118, GetNodeContainer():142, GetPipelines():151, GetTranslatorSettings():167.
  • Engine/Public/InterchangeProjectSettings.h — FInterchangePipelineStack:31.

Interchange plugin (under Engine/Plugins/Interchange/Runtime/Source/):

  • Import/Public/Fbx/InterchangeFbxTranslator.h — UInterchangeFbxTranslator:81, UInterchangeFbxTranslatorSettings:34 (bConvertScene, bConvertSceneUnit, bForceFrontXAxis, EInterchangeCoordinateSystemPolicy).
  • Import/Public/Gltf/InterchangeGltfTranslator.h — UInterchangeGLTFTranslator:26.
  • Pipelines/Public/InterchangeGenericMeshPipeline.h — UInterchangeGenericMeshPipeline:53 (bImportStaticMeshes, CombineStaticMeshesBehavior, bBuildNanite, bGenerateLightmapUVs, bCollision, bImportSkeletalMeshes, SkeletalMeshImportContentType).
  • Pipelines/Public/InterchangeGenericTexturePipeline.h — UInterchangeGenericTexturePipeline:19 (bImportTextures, bDetectNormalMapTexture, bFlipNormalMapGreenChannel, bImportUDIMs).
  • Pipelines/Public/InterchangeGenericAnimationPipeline.h — animation settings.
  • FactoryNodes/Public/InterchangeStaticMeshFactoryNode.h — UInterchangeStaticMeshFactoryNode.
  • FactoryNodes/Public/InterchangeSkeletalMeshFactoryNode.h — UInterchangeSkeletalMeshFactoryNode.
  • FactoryNodes/Public/InterchangeTextureFactoryNode.h — UInterchangeTextureFactoryNode.

Legacy FBX (under Engine/Source/Editor/UnrealEd/Classes/Factories/):

  • Factory.h — UFactory:46 (base class for all legacy import factories).
  • FbxImportUI.h — UFbxImportUI, EFBXImportType.
  • FbxStaticMeshImportData.h, FbxSkeletalMeshImportData.h, FbxTextureImportData.h — per-type legacy settings structs.

Runtime Engine:

  • Engine/Classes/EditorFramework/AssetImportData.h — UAssetImportData:71, FAssetImportInfo::FSourceFile (path, timestamp, MD5 hash).

Official docs (UE 5.8, all fetched and verified):

Deep-dive references in this skill:

Related skills: ue-meshes-static-and-skeletal, ue-materials-and-shaders, ue-asset-management, ue-audio-and-metasounds, ue-editor-scripting-and-python.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ue Importing Content AI 技能有什么作用?

Import external assets into Unreal using the Interchange framework (UInterchangeManager, UInterchangePipelineBase, UInterchangeFactoryBase, UInterchangeTranslatorBase, UInterchangeSourceData) and the legacy FBX pipeline (UFbxFactory / UnFbx::FFbxImporter). Covers the three-stage Interchange pipeline (translate → pipeline → factory), pipeline stacks, format support (FBX, glTF/GLB, OBJ, USD, images, audio), mesh and texture import settings (units/axes, normals, lightmap UVs, Nanite, sRGB/compression), skeletal mesh skeleton assignment, import asset data (UInterchangeAssetImportData / UAssetIm...

为什么在 TypingMind 中使用 Ue Importing Content?

因为您只需安装一次,就能搭配任何模型使用。Ue Importing Content 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ue Importing Content?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-importing-content。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ue Importing Content?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ue Importing Content 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ue Importing Content 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ue Importing Content AI 技能免费吗?

kevinpbuckley 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇