• Editor
  • Color property bounding box not exported 3.8.72

Related Discussions
...

Hi just noticed that the export for 3.8.72 no longer included the Color property for bounding boxes.
Has this been removed for a reason or is it a bug?

I was sometimes using this property in my projects when reading the json.

Thanks
Matt

Are you sure you didn't just disable Nonessential data in the Export settings?

I've just tested with 3.8.72 and didn't find any issues exporting the color property.

Hi, I do have nonessential checked but my export json doesn't have color property.

If I set the slot colour this does export, maybe this is what you are seeing?

{
     "name": "boundingBox",
     "bone": "PLAY_BUTTON",
     "color": "f40000ff",
     "attachment": "boundingBox"
   }

but there used to be a color property associated with the bounding box colour which looked like this, which is no longer there (see screenshot)

"_i_auto": {
         "_i_auto": {
            "type": "boundingbox",
            "vertexCount": 4,
            "vertices": [ -184.08, 112.54, 188.79, 113.51, 184.9, -152.54, -185.05, -150.6 ],
            "color": "5ef000ff"
         }
      }

Thanks
Matt

Ah, it looks like the Color property is not exported if the bounding box is using the default color. Try changing the color, and then see if it exports.

Thanks, you are right - thought I'd checked that. My mistake 🙂

No worries, I'm just happy we were able to resolve the issue.