Closed KagasiraBunJee closed 1 year ago
I had made the change in code in the upgrade to 5.1 but didn't update the README sufficiently. Added new section in the troubleshooting for people upgrading to UE 5.1. https://github.com/tranek/GASDocumentation#troubleshooting-enumnamesarenowpathnames
Thanks for the callout.
Hi @tranek , in the section 4.6.2 where you bind input with GAS, they deprecated constructor with
FString
name of enum withFTopLevelAssetPath
struct. Third argument has to beFTopLevelAssetPath
which constructs with path to your enum, and enum nameThis is from engine header of
FTopLevelAssetPath
If your enum is in main project use:
const FTopLevelAssetPath InputEnumPath(TEXT("/Script/YourProjectName"), TEXT("YourEnumName"));
where/Script/YourProjectName
if your enum is in code, or/Path/To/Package.AssetName
if your enum is in assetsIf your enum is in plugin, then
const FTopLevelAssetPath InputEnumPath(TEXT("/Script/YourPluginName"), TEXT("YourEnumName"));
usage:
Would be awesome to update doc to fix warning on compilation for those who looking for it