Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包後出現 MetaData is only allowed in the Editor. #2

Open
plasticanne opened this issue Oct 27, 2023 · 0 comments
Open

打包後出現 MetaData is only allowed in the Editor. #2

plasticanne opened this issue Oct 27, 2023 · 0 comments

Comments

@plasticanne
Copy link

將專案直接打包, 打包後的執行檔會出錯:
Assertion failed: !FPlatformProperties::RequiresCookedData() [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Package.cpp] [Line: 231] MetaData is only allowed in the Editor.

經測試原因可能出在 Plugins\FCScript\Source\FCScript\Private\FCDynamicClassDesc.cpp
82行在runtime用了 UMetaData

TMap<FName, FString>* MetaMap = UMetaData::GetMapForObject(Function);
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

No branches or pull requests

1 participant