Passing a table with a property of type vector or rotation to UI crashes Crayta

Describe the bug:
When I assign a Table to an UI variable it crashes Crayta:
self.widget.js.data.myTestVar = shopItem

This happens every time when the table includes a property of type “vector” or “rotation”.

A workaround that Daigoro found is to manually create a new table:
{x=props.positionOffset.x,y=props.positionOffset.y,z=props.positionOffset.z}

How do you cause this bug?

  • Run my unpublished game “UI Crash Bug”. I hope you can access it.
  • The crash happens in the script: “CosmeticsShopUiController”

Which platform: PC

Which input: keyboard + mouse

Your Crayta username: Vilva#9953

Version number (found in Help tab in Settings): 0.e3.63.114111

1 Like

Good morning @Vilva !

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

2 Likes