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

Wanings while compiling with UE5.1 #10

Open
CicadaKim opened this issue Mar 27, 2023 · 1 comment
Open

Wanings while compiling with UE5.1 #10

CicadaKim opened this issue Mar 27, 2023 · 1 comment

Comments

@CicadaKim
Copy link

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

@ElgSoft
Copy link
Owner

ElgSoft commented May 13, 2023

This should be fixed in the latest version

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

2 participants