CollapseLauncher / Collapse

An Advanced Launcher for miHoYo Games
MIT License
1.31k stars 66 forks source link

[Bug]: can't switch to star rail. #483

Closed SOOOOFA closed 1 month ago

SOOOOFA commented 1 month ago

Affected Version

The latest.

Bug Behavior

Eror log. System.NullReferenceException: Object reference not set to an instance of an object. at CollapseLauncher.MainPage.GetLauncherEventInfo() at CollapseLauncher.MainPage.FetchLauncherLocalizedResources(CancellationToken Token, PresetConfigV2 Preset) at CollapseLauncher.MainPage.TryLoadResourceInfo(ResourceLoadingType resourceType, PresetConfigV2 preset, Boolean ShowLoadingMsg)

Expected Behavior

The laucher should be switching to star raol without issues

Steps to reproduce

  1. start the laucher at genshin
  2. switch to star rail
  3. get railed

Related Issues

No response

Screenshot(s)

изображение

Additional Information

No response

TypicalShavonne commented 1 month ago

im also getting that issue System.NullReferenceException: Object reference not set to an instance of an object. at CollapseLauncher.MainPage.GetLauncherEventInfo() at CollapseLauncher.MainPage.FetchLauncherLocalizedResources(CancellationToken Token, PresetConfigV2 Preset) at CollapseLauncher.MainPage.TryLoadResourceInfo(ResourceLoadingType resourceType, PresetConfigV2 preset, Boolean ShowLoadingMsg)

Ocrosoft commented 1 month ago

You can download the preview version, it works. https://github.com/CollapseLauncher/Collapse/releases/tag/CL-v1.80.8-pre

andywondering commented 1 month ago

I had the same issue. I can still run the game manually.

Ocrosoft commented 1 month ago

I guess it is cause by metadata v3, but the main branch was already removed this line: https://github.com/CollapseLauncher/Collapse/commit/d75654d1f11e9a5d0af007625cbc8727c1158ba7

Ocrosoft commented 1 month ago

@neon-nyan @bagusnl This issue was effected stable version users, maybe you'll want to look into it...

TypicalShavonne commented 1 month ago

im unable to switch to other branch of the project

bagusnl commented 1 month ago

@Cryotechnic is inn process of pushing 1.80.x branch to stable. Please wait.

In the meantime, you can either do these steps to override the current region if its stuck:

  1. Launch Collapse Launxher with oobesetup argument to retrigger OOBE setup page. Please use same settings as last time but DONT pick the problematic game/region

  2. Use launch command Eg. CollapseLauncher.exe -g 0 -r 0

  3. Edit the config manually to switxh from Star Rail Go to %AppData%/../LocalLow/Collapse Launcher/ Open config.ini and override the current game and region selected manually or remove it altogether