Given NBT stream does not start with a TAG_Compound
See original GitHub issueHas anyone else seen this issue with backup downloaded from a realm?
8188 of 47821 Chunks render @ 244.8 cps Error in CreateChunkAndRenderBlock: Given NBT stream does not start with a TAG_Compound
When I download from a Bedrock Realm running 1.17.34 I see this about 20 times, then there are chunks in the map that show as black. Usually it’s ones where there is a lot of player constructed objects at multiple Y levels.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Given NBT stream does not start with a TAG_Compound??
When you open the page, go to the "Help with games" section in order to find the right path to look for help.....
Read more >[SOLVED] Read/Write Compressed NBT from/to DataStream
The Inventory loads and saves fine, which suggests the NBT is all in proper order. It seems like writeCompressed only writes data directly...
Read more >[Library] Edit or create NBT tags with a compact class
The point here is that you can modify existing NBTCompounds, like the tag compound in ItemStack. There's even a convenience method for ...
Read more >NBTExplorer - NBT Editor for Windows and Mac
NBTExplorer is a low-level graphical NBT data editor originally based on NBTedit. The key difference is NBTExplorer's full support for ...
Read more >Minecraft 1.9.2 Command /give converted to /summon - Arqade
The NBT input for /give is already starting within the tag compound because the root data (apart from Slot , which cannot be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If I wrap a
if (paletteAndFlag != 0)
aroundin https://github.com/papyrus-mc/papyruscs/blob/master/Maploader/World/World.cs the map comes out fine. Heavy emphasis on I am not remotely familiar with the codebase, I would be shocked if that is a proper fix without introducing regressions.
Edit: Adding a basecase to continue before that for loop also works and seems more efficient, but as always remember that I do not know what I am doing. localPalette.Size is almost the max int value on storage 1 for some version 9 chunks. I suspect the Size is not actually reading an int but a string or some other value.
Edit 2: Might be safer to just return than continue to the next loop iteration given the file reader.
I use bedrock dedicated server and see this. I should poke my world and find what NBT is causing this. Edit: The chunks have barrels in common, I have not poked my save data which is a bit big to upload to GitHub.