stride3d / stride3d/stride

UWP launch error for template project "System.TypeInitializationException"

Open
#144 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Hello, I ended up getting this error while trying to launch a UWP build of the FPS template project on Xbox One and on my PC
it always ends up crashing with a System.TypeInitializationException after displaying Xenko some seconds

that's the exact error from the log
Exception levée : 'System.TypeInitializationException' dans FirstPersonShooter2.exe Le programme '[11164] FirstPersonShooter2.exe' s'est arrêté avec le code -532462766 (0xe0434352). Échec de l'activation de l'application du Windows Store 'dc8ffde3-73c8-4af2-a66c-ebd824ed5a9c_5mj4rvhtbs6fg!FirstPersonShooter2' avec l'erreur 'Opération non prise en charge. Erreur inconnue : 0x80040904'.
building as a normal Windows application works perfectly

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the UWP FPS template launch on Xbox One and PC, then inspect the reported System.TypeInitializationException and 0x80040904 activation error. Done means the UWP build launches successfully on both platforms while the normal Windows build remains working.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.