Skip to content

Wanings while compiling with UE5.1 #10

@CicadaKim

Description

@CicadaKim

Hello.
There are warnings when I try to compile this plugin with UE5.1

1>MyProject\UE5\Engine\Windows\Engine\Source\Runtime\AssetRegistry\Public\AssetRegistryModule.h(6): warning : #include AssetRegistry/AssetRegistryModule.h instead of AssetRegistryModule.h 1>MyProject\UE5\Engine\Windows\Engine\Source\Runtime\AssetRegistry\Public\AssetData.h(6): warning : #include AssetRegistry/AssetData.h instead of AssetData.h 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_Assets.cpp(38): warning C4996: 'FARFilter::ClassNames': Class names are now represented by path names. Please use ClassPaths. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_Assets.cpp(50): warning C4996: 'FAssetData::ObjectPath': FName asset paths have been deprecated. Use GetSoftObjectPath to get the path this asset will use in memory when loaded or GetObjectPathString() if you were just doing ObjectPath.ToString() Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_Assets.cpp(52): warning C4996: 'IAssetRegistry::GetAssetByObjectPath': Asset path FNames have been deprecated, use Soft Object Path instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_Assets.cpp(106): warning C4996: 'FAssetData::AssetClass': Class names are now represented by path names. Please use AssetClassPath. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_Assets.cpp(153): warning C4996: 'IAssetRegistry::GetAssetByObjectPath': Asset path FNames have been deprecated, use Soft Object Path instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_Assets.cpp(195): warning C4996: 'FAssetData::ObjectPath': FName asset paths have been deprecated. Use GetSoftObjectPath to get the path this asset will use in memory when loaded or GetObjectPathString() if you were just doing ObjectPath.ToString() Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_Assets.cpp(201): warning C4996: 'FAssetData::AssetClass': Class names are now represented by path names. Please use AssetClassPath. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_EditorWidget.cpp(45): warning C4996: 'FSoftObjectPath::FSoftObjectPath': Asset path FNames have been deprecated. This constructor should be used only temporarily to fix up old codepaths that produce an FName. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_PluginManager.cpp(70): warning C4996: 'FEditorStyle::GetBrush': FEditorStyle::GetBrush() is deprecated, use FAppStyle::GetBrush() instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_UBlueprint.cpp(95): warning C4996: 'FARFilter::ClassNames': Class names are now represented by path names. Please use ClassPaths. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_UBlueprint.cpp(107): warning C4996: 'FAssetData::ObjectPath': FName asset paths have been deprecated. Use GetSoftObjectPath to get the path this asset will use in memory when loaded or GetObjectPathString() if you were just doing ObjectPath.ToString() Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_UBlueprint.cpp(109): warning C4996: 'IAssetRegistry::GetAssetByObjectPath': Asset path FNames have been deprecated, use Soft Object Path instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_UBlueprint.cpp(381): warning C4996: 'FBlueprintEditorUtils::ImplementNewInterface': Short class names are no longer supported. Use a version of this function that takes FTopLevelAssetPath. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. 1>MyProject\Editor\Plugins\ElgEditorScripting\Plugins\ElgEditorScripting\Source\ElgEditorScripting\Private\Blueprints\ElgEditorBP_UBlueprint.cpp(408): warning C4996: 'FBlueprintEditorUtils::RemoveInterface': Short class names are no longer supported. Use a version of this function that takes FTopLevelAssetPath. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

Thank you for great pulgin btw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions