When a server is started up and a world folder already exists with ONLY a data packs folder inside, and inside a data pack (specifically tested using the CavesAndCliffsPreview data pack from pre4), the server fails to start and causes an error: Encountered an unexpected exception z: Exception initializing level. After this initial crash, some other files are created in the world folder and starting the server again seems to be fine... but that shouldn't be happening.
To reproduce:
Create server.properties with a world folder name set
Create the world folder manually
Create a datapacks folder manually
Insert the CavesAndCliffsPreview data pack into the datapacks folder (Should look like: SERVER_FOLDER\world_name\datapacks\CavesAndCliffsPreview.zip)
Start server
Encountered an unexpected exception z: Exception initializing level
Run server again
Runs fine (I think)
ORDownload .zip file provided ("Raw server folder without jar.zip") which has everything except the 1.17pre4 server.jar
Run server
See crash
Run server again
Runs fine (I think)
What should happen:
Repeat steps 1-5
Server starts up and loads data pack just fine first time.
Linked issues
Attachments
Comments 4
Thank you for your report!
We're tracking this issue in MC-225707, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Hello! Does MC-225707 describe your issue?