UE-Specifier-Docs icon indicating copy to clipboard operation
UE-Specifier-Docs copied to clipboard

[BUG] AllowedClasses should be paths as of 5.1

Open benui-dev opened this issue 2 years ago • 1 comments

Warning      LogAutomationTest         LogClass: Property StructProperty ASomeClass::GameMap defines MetaData key "AllowedClasses" which contains short type name "World". Suggested pathname: "/Script/Engine.World". Module:MyProject File:Core/SomeClass.h

Looks like AllowedClasses now wants path names not short names

benui-dev avatar Feb 22 '23 19:02 benui-dev

Just stumbled across this. Would the formatting be /Script/{Module}.{Class}, similar to GetOptions?

For my editor scripts, how would I filter the FSoftObjectPath to a specific class, without the editor object picker changing from Asset to Level Object, as the AllowedClasses does that?

Filip-Anicic avatar Apr 05 '24 22:04 Filip-Anicic