Reputation: 11
I recently updated my Unity installation from v2021 to v2022 LTS and since then, I am unable to build any UWP projects out to appx's in Visual Studio. I've tried multiple versions of Unity 2022 and they all produce the same result. The Unity build completes without issue, but once I open the generated solution file in VS and try to deploy or publish to appx, it fails. If I revert a project back to Unity 2021, everything continues to work as expected. This is true for all deployment types (Debug, Release, etc.) and all architectures (ARM, x64). The errors that are thrown and the output in Visual Studio is reproduced below for a blank Unity project that contains only the Main Camera and default light.
Upvotes: 0
Views: 103
Reputation: 154
Check if the Windows Build Support (IL2CPP) module is installed for Unity 2022:
Upvotes: 0