Summary
v37.00 enabled concrete_subtype
, but it doesn’t seem very useful besides being a filter constraint. It doesn’t allow the instantiation of the type it captures, which it really should as the type is statically known to be concrete
, and @editable
usage seems to be not enabled yet.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
using { /Verse.org/SceneGraph }
test_component := class<final><final_super>(component) {
# ERROR: The editable attribute is not supported for data definitions of this type.(3604)
@editable
PrefabType: concrete_subtype(entity)
OnSimulate<override>()<suspends>: void = {
# ERROR: PrefabType is not a macro.
# Spawn the prefab
Prefab := PrefabType {}
# Do something with the `Prefab` value.
}
}
Expected Result
- Instantiating from the captured type should be permitted as the type is known to be
concrete
. @editable
usage ofconcrete_subtype
should be permitted
Observed Result
- Cannot instantiate an object from the concrete subtype.
@editable
is not permitted yet.
Platform(s)
UEFN (v37.00)