Skip to content

[4.27-plus] 将 UBlueprintGeneratedClasses 改为资源,以便在编辑器中查看已生成的蓝图。#30

Merged
nongfugengxia merged 1 commit into
hutbfrom
fix_HoloOcean
Jul 21, 2026
Merged

[4.27-plus] 将 UBlueprintGeneratedClasses 改为资源,以便在编辑器中查看已生成的蓝图。#30
nongfugengxia merged 1 commit into
hutbfrom
fix_HoloOcean

Conversation

@donghaiwang

Copy link
Copy Markdown
Member

将 UBlueprintGeneratedClasses 改为资源,以便在编辑器中查看已生成的蓝图。

但当 BPGC 位于未生成的包中时,请将其从全局 AssetRegistry 中移除,以避免与现有的 UBlueprint 资源冲突。

#jira UE-78220
Change UBlueprintGeneratedClasses to be assets so that cooked blueprints are viewable in editor. But omit BPGC from the global AssetRegistry when they are in uncooked packages to avoid conflicting with the existing UBlueprint asset.

#cherrypick of 15584115 by Matt.Peters
#rb Francis.Hurteau
#rnx

#ushell-cherrypick of 15584238 by Matt.Peters

#ROBOMERGE-SOURCE: CL 15587769 via CL 15587806 via CL 15587835
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v777-15581079)

[CL 15587846 by matt peters in Main branch]

https://github.com/EpicGames/UnrealEngine/commit/38588dccb3c2022cc7f806529bd6dad134874cad

没有修改:Engine/Source/Editor/UnrealEd/Private/Commandlets/AssetRegistryGenerator.cpp‎
中的 new FAssetData(&Object, true /* bAllowBlueprintClass */);

但当 BPGC 位于未生成的包中时,请将其从全局 AssetRegistry 中移除,以避免与现有的 UBlueprint 资源冲突。

#jira UE-78220
Change UBlueprintGeneratedClasses to be assets so that cooked blueprints are viewable in editor.
But omit BPGC from the global AssetRegistry when they are in uncooked packages to avoid conflicting with the existing UBlueprint asset.

#cherrypick of 15584115 by Matt.Peters
#rb Francis.Hurteau
#rnx

#ushell-cherrypick of 15584238 by Matt.Peters

#ROBOMERGE-SOURCE: CL 15587769 via CL 15587806 via CL 15587835
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v777-15581079)

[CL 15587846 by matt peters in Main branch]

EpicGames/UnrealEngine@38588dc

没有修改:Engine/Source/Editor/UnrealEd/Private/Commandlets/AssetRegistryGenerator.cpp‎
 中的 new FAssetData(&Object, true /* bAllowBlueprintClass */);
@nongfugengxia
nongfugengxia merged commit 3acd24f into hutb Jul 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants