ncsoft / Unreal.js

Unreal.js: Javascript runtime built for UnrealEngine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing TArrays from Ue4 blueprints to java script.

minnakan opened this issue · comments

Hi, I have a blueprint actor that is subclassed in javascript(from helloBlueprint.js example). I have then overridden a blueprint function to simply log the parameter that is passed to it. This works fine for strings, integers and floats. However when I pass a TArray of bytes and log its length, the output is zero. The arrays length in blueprints after calling the overridden function is also zero(passing by ref?).
How would I go about passing an array of bytes from Ue4 blueprints or cpp to a java script function?
Thank you. Any help is much appreciated.