can't save plugin asset from commandlet
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!
asked Mar 02 '18 at 11:27 AM in Bug Reports
Follow this question
Once you sign in you will be able to subscribe for any updates here