hi i m new in developing for the windows store i m trying to build my game but every time it fails i get this
Exception: Failed to build Visual Studio project. Output:
UnityInstallationDir “C:\Program Files\Unity\Editor”.
any idea what i m doing wrong or what i have to change any help would be great
Are you using Build&Run button from Unity?
It doesn’t work with Universal apps, use Build and then manually build and run Visual Studio solution.
1 Like
really i don t know that thank you very much i will give it a try again ^^
seconde question when i try to run my game using the visual basic i got this error : Unhandled exception at 0x0F7A556D (UnityPlayer.dll) in Template.exe: 0xC0000005: Access violation reading location 0xFFFFFFEC.
why does that mean what i m doing wrong here too ?
It’s a crash.
To be certain, try the following:
- from Unity use ‘Build’ and select an empty directory
- open generated Visual Studio solution, select correct config and architecture (i.e. Debug and x86)
- build in Visual Studio, see output (is everything successful, you might need to scroll up a bit to be certain)
- run from Visual Studio
i did that but after the main menu the game crashes so it must be something wrong with my scripts which it’s not compatible with the windows app
Check player settings for compilation override. It’s strongly recommended to set this to .NET Core, as then you’ll get compilation errors for any script incompatibilities, rather than failures at runtime.
Also, do you use any plugins in your game? Make sure your plugins are setup correctly. See Unity manual for this.
1 Like
alright thank you very much for the advice