Describe the bug:
Passing tables from widgets with Crayta.callLua converts them to strings. I would expect them to keep the table structure.
How do you cause this bug?
- data object in JS:
- Print in JS works: console.log(data.button.x)
- Try to pass data to Lua: Crayta.callLua(“MyLuaFunction”, data);
- Try to access data.button in Lua gives null exception
- data in Lua is a string with value “button”
Screenshots / video of bug:
Which platform: PC / Stadia
Which input: Controller / keyboard + mouse
Your Crayta username:
Game seen in (including “Hub” or “Editor for XYZ”):
How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible):
Time + date seen:
Version number (found in Help tab in Settings):
(PC only) hardware specs (upload dxdiag file if possible - Open and run DxDiag.exe):
The more information you provide, the more likely it is that this bug can be fixed quickly! Also, if this was discussed in Discord / Reddit / elsewhere, it might help to include a screenshot of that discussion!