mc92
mc92

Reputation: 11

VS2022 and Unity 2022 UWP Build Issues

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.

enter image description here

enter image description here

Upvotes: 0

Views: 103

Answers (1)

Ying Li - MSFT
Ying Li - MSFT

Reputation: 154

Check if the Windows Build Support (IL2CPP) module is installed for Unity 2022:

enter image description here

Upvotes: 0

Related Questions