mozilla / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.

Home Page:https://hubs.mozilla.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

uhunkler opened this issue · 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