Skip to content

蓝图传数组参数给lua,数组为空问题仍然存在 #404

@BulletHermit

Description

@BulletHermit

比如在蓝图定义一个非空的数组全局变量Array。然后再定义一个空的函数(名字Bar)给脚本覆盖,这个函数有一个数组类型的输入参数。
在蓝图调用Bar时把数组变量Array传进去,此时在脚本Bar函数打印传进来的数组变量的长度,输出为0,传过来的数组是空的。

(看了下之前有人提过这个问题,说2.0preview解决了,但是我用2.1.4还是有这个问题)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions