Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.InvalidOperationException preventing the Launcher from starting. #62

Closed
LeonWilzer opened this issue May 2, 2022 · 10 comments
Closed

Comments

@LeonWilzer
Copy link

I installed the game using Steam, and it didn't start. When I launch it through the terminal I receive the mentioned unhandled exception, after some normal messages:

Unhandled exception. System.InvalidOperationException: Default font family name can't be null or empty.

I am on Arch Linux and I looked up the issue and after skimming a few GitHub issues, it seems possibly related to Avalonia and me maybe missing some fonts or similar, which makes sense, given the error message. The issue-threads would usually recommend installing mscorefonts and trying to launch the applications with LC_ALL=C,
but neither changed the result.

I can provide you with system specs and the terminal output, if needed.

@PJB3005
Copy link
Member

PJB3005 commented May 2, 2022

Could I get a full log with stack trace?

@LeonWilzer
Copy link
Author

LeonWilzer commented May 26, 2022

I am terribly sorry for my late response, but below is the terminal output of the launcher.
log.txt

@PJB3005
Copy link
Member

PJB3005 commented May 26, 2022

Now that is interesting. Seems like a bug in Avalonia?

@LeonWilzer
Copy link
Author

Probably. Is there something I can do, for example install or configure something, to prevent this bug from occurring?

@PJB3005
Copy link
Member

PJB3005 commented May 27, 2022

No idea, sorry.

@wrexbe
Copy link

wrexbe commented May 27, 2022

Try installing the Microsoft fonts.
https://wiki.archlinux.org/title/Microsoft_fonts

I found a similar issue on the Avalonia github, and that was the recommended solution
AvaloniaUI/Avalonia#5774

@PJB3005
Copy link
Member

PJB3005 commented May 27, 2022

Well I really wish that wasn't the required solution, but apparently it's a Skia bug so 🤷.

@LeonWilzer
Copy link
Author

Try installing the Microsoft fonts. https://wiki.archlinux.org/title/Microsoft_fonts

I found a similar issue on the Avalonia github, and that was the recommended solution AvaloniaUI/Avalonia#5774

Well, I tried installing the Win10 one from the AUR, but the installation failed. So I installed the Win11 font, which was successful, but still crashes when starting the Launcher. Another note, Steam updated the game, but that changed nothing. So I guess there is nothing to do, until the issue is resolved. 🤷‍♂️
Thank you for your time.

@Visne
Copy link
Member

Visne commented Jul 19, 2023

Pretty sure this is the same issue as #84. If this is still affecting you, can you install ttf-dejavu and see if it is fixed then? If it's no longer affecting you, I would like to know too. Then both issues can probably be closed.

@LeonWilzer
Copy link
Author

Well, it seems to work now, regardless whether Dejavu is installed or not. I am closing the issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants