hubs icon indicating copy to clipboard operation
hubs copied to clipboard

BG - Cast int to string and concat with string makes HUBs crash

Open uhunkler opened this issue 1 year ago • 0 comments

Description As can be checked in the attached Blender file when an integer variable is casted to a string and concatenated with a string in the next step HUBs crashes when the casted string is used in the upper slot of the concat node. When the casted string is used in the bottom node and a string constant is used in the upper node there is no issue.

To Reproduce Steps to reproduce the behavior:

  1. Open the attached blend file
  2. Export a GLB
  3. Open the GLB in a room on https://testing.dev.myhubs.net/
  4. Open the »Web Developer Tools« to see the debug logs
  5. Click on the green cube on the right -> the concatenated string is written to the console
  6. Click on the red cube to the left -> HUBs crashes

Expected behavior Strings casted from variables work the same as string constants.

Screenshots

Hardware

  • Desktop
  • macOS 14.1.1
  • Firefox latest
  • BG plugin latest
  • Blender 3.6.5

Additional context Blender example file

hubs_bg_errorreport_002_variables.blend.zip

uhunkler avatar Nov 22 '23 17:11 uhunkler