hi! i’m trying to save a plugin asset (saved into its content folder) using UEditorEngine::SavePackage from a commandlet, but i think there is a bug into UEditorEngine::IsPackageOKToSave.
the asset into the plugin content folder is relativized by IFileManager::ConvertToRelativePath to: …/…/Plugins/…
but in FLongPackagePathsSingleton.ContentPathToRoot that plugin appears relativized as: …/…/…/Engine/Plugins/…
that is the same relative path, but UEditorEngine::IsPackageOKToSave at line 308 (if (Result.StartsWith(Pair.ContentPath))) tries unsuccessfully to compare the two paths.
so UEditorEngine::IsPackageOKToSave fails at line 4064 trying to do FPackageName::TryConvertFilenameToLongPackageName.
can you please verify this issue?
thanks!