Closed sussyGaymer closed 1 year ago
Same problem. When trying to launch 1.20.2 only
I confirm it's not compatible with 1.20.2
Same issue but on Linux. 1.20.1 works fine but 1.20.2 is not compatible yet.
the error comes about when mc's main function is called, and so presumably the error comes about by the fact that a uuid command line argument is necessary and it for some reason isn't supplied
update 2: this line defines the UUID. it calls this function to do so, which in turn calls this function, the value of which is defined on this line, which retrieves it from the list profiles accessed here. that function is called by this function, which is in turn called by this function, which is in turn called by this function, which gets its data from this function, which is called by this function on accounts.json
anyways i believe you just need to define ygg.id
for all accounts though i'm not 100% sure. testing rn
update 3: every time i try to manually update accounts.json with the UUID, it is automatically rewritten and removed. so i think that's the source of the problem. looking into it right now
update 4: it's written by this function which calls this function which calls this function. anyways it seems the UUID should actually be kept in type
(which is dummy
), which comes from this function which gets the UUID from this function, which correctly returns "dummy"
. so we need to find the point of disconnect but from here that shouldn't be very difficult at all
update 5: i believe i've found the culprit
update 6: so i'm pretty sure what's broken is that a MinecraftProfile
isn't created for each new account
update 7: yep, found it. MinecraftAccount doesn't initialize data.minecraftProfile
, which leaves data.minecraftProfile.id
as ""
, leading to the error
update 8: fixed #310
Operating System
Windows
Description of bug
As soon as you launch an instance it crashes with an
IllegalArgumentException
ofInvalid UUID string:
. Full game log: https://paste.ee/p/vT4soSteps to reproduce
Launch an instance with the latest version from https://nightly.link/UltimMC/Launcher/workflows/main/develop/mmc-cracked-win32.zip
Suspected cause
It appears like the UUID is not being set correctly. I'm not familiar with the codebase and the inner workings of MultiMC/UtilmMC so I can't say for sure.
This issue is unique