Mojira Archive
MCM-617

Model files with blank entries in cubes fail to validate and load

Partner Rank:

1

Partner Team Reporting:

Pathway Studios

Verification builds and Platforms:

Minecraft-Release_UAP_x64_2039725 - 1.12.0.2 RC1

Summary:

In existing marketplace content, model files that contain a blank entry in the cubes array for a bone fail to load (see notes for example).

Impact:

In Restaurant Sim, models are not loaded causing the Armor Stand and Iron Golem models to break.

Repro Steps:

  1. Download Restaurant Sim from the Marketplace
  2. Open world and observe content log errors
  3. Get on the bus, wait for a villager to show up, see that armor stands are visible

Observed Results:

Custom model file fails to validate and load, breaking the armor stand and iron golem models.

Expected Results:

Custom model file validates and loads.

Screenshot/Video?

Yes.

Regression Builds:

Minecraft-Release_UAP_x64_2098024 - 1.11.1.2 RC1

Notes:

Example model json that will throw an error, caused by the "{ }" in the cubes array.

"geometry.armor_stand": {
  "bones": [
    {
      "name": "head",
      "cubes": [ 
        { }
      ]
    }
  ]
}

Cannot Reproduce

MrSquishy

2019-04-30, 11:03 PM

2019-05-06, 07:41 PM

2019-05-06, 07:41 PM

0

1

Future Release

-