Mojira Archive
MCPE-105278

Compressed structure files can't be loaded

The bug

Bedrock structure files are little-endian NBT files. They can be included in behavior packs to be loaded by structure blocks in-game.

However, when the NBT files are compressed using standard NBT-type compression (gzip and zlib), the file fails to load. This results in structure files taking up more than 50 times the necessary amount of space!

How to reproduce

  1. Download the attached world
  2. Press the buttons on the structure blocks from right to left
     Only the leftmost one, referencing the uncompressed file, loads

Notes

While activating the structure blocks referencing compressed files, the following error is displayed in the content log:

"format_version" field, a required field, is missing from the structure.

The three structure files are attached here, for convenience. All three contain an identical taiga structure.

Unresolved

[Mod] tryashtar

2020-11-10, 01:14 AM

2024-08-23, 10:43 PM

6

0

Confirmed

456272

vanilla-parity

1.17.40.23 Beta - 1.19.2 Hotfix1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.16.200.57 Beta, 1.16.200.53 Beta, 1.16.40 Hotfix, 1.16.210, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.19.2 Hotfix

-