Workaround is to set the Object variable type to an actual Object blueprint.
REGRESSION: Technically a regression from 4.16
Object variables aren't accepted by Construct Object class, even if the value is set to an Object blueprint. The following error is generated:
Cannot construct objects of type '/Script/CoreUObject.Object' in Construct Object from Class
Workaround is to set the Object variable type to an actual Object blueprint.
RESULT
The object variable isn't accept and generates compile error, even though the value is set to TestObject.
WORKAROUND
Set the variable type to TestObject.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-48436 in the post.
27 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.17, 4.18, 4.19 |
Target Fix | 4.23 |
Created | Aug 15, 2017 |
---|---|
Resolved | Mar 28, 2019 |
Updated | Jun 4, 2019 |