UWP launch error for template project "System.TypeInitializationException"
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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