[Resolved] - Console.log throws when logging a float

How do you cause this bug?

Create a widget, slap


In the script tag.
Run a preview

Screenshots / video of bug:

[Client] [Error] JS Error: :1: RangeError: Invalid array length
[Client] [Error] JS Error (Line): console.log = function() { var strings = new Array(...arguments).map(arg => String(arg)); engine.call("ConsoleLog", strings.join(" ")); }

Which platform: PC / Stadia

Which input: Controller / keyboard + mouse

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: 2021/07/17

Version number (found in Help tab in Settings): 0.7.587.106531

Hi Cereal,

Thank you for your report.
I’ve entered a ticket for your issue and our team will investigate the issue further.

1 Like

This bug has now been fixed as per the patch notes below