Inventory Profiles Next

Inventory Profiles Next

23M Downloads

Game crashes in a specific world

llrluis opened this issue ยท 12 comments

commented

Hi, I love this mod, but I have a problem.

When I open a specific world the game crashes, I thought it was some incompatibility with another mod but I tried only to test it with this one and the problem persists.

I don't know if you can help me since it is a particular problem :(

Game Version: 1.17.1 - Fabric
Mod Version: Inventory Profiles Next 0.8.5

I attach the complete error log:
crash-2021-08-09_13.30.21-client.txt

And the world in case you want to perform some tests:
BUSINESS CENTER _ Trading Hall.zip

Thank you very much for your support <3

commented

Well, yes the world loads for me without problems.
Also the error doesn't go through the mod code.

Have you tried to load the world without this mod but with fabric and fabric api?

commented

It's weird, but I have tested it only with fabric and fabric api with no issues. even do a clean install and the problem only occurs when the mod is active.

I imagine that it must be an isolated problem, I will try to copy the schematic of the world and try to load it in another to verify that it is not a problem of corrupt generation.

commented

tbh if you are comfortable with code and stuff the only thing I can suggest is downloading the code and running the game in the debugger

commented

I am able to reproduce it

commented

It seems to come from the / in the name of the world. The mod at some point tries to write or locate the file lockSlots-BUSINESS CENTER / Trading Hall.txt, which is not a valid path. The / should be replaced by a _ here.

commented

After removing the / from the world name, I am able to start the world without problems (nice building ๐Ÿ˜‰)

commented

Sounds like a "windows" problem

But the thing is that part of the code is protected and should handle all errors related to file operations

commented

So will you let this bug unfixed?

commented

read above your message

commented

lol

commented

Yes I read it, but may it be a Windows problem or not, the problem is still there and should be fixed, no? And the fix replacing "/" by "_" seems pretty simple

commented

Ah yes sorry I didn't see there was a commit in the close message, sorry for the time loss.