To create a Unity application for Universal Windows Platform (UWP), you first need to set up your Unity project to support UWP. To support UWP, a Unity project requires the UWP Build Support module.
Before you get started, check UWP Requirements and compatibility to make sure you’re aware of any limitations for developing a Unity application for this platform.
Unity distributes dependencies as modules which means you use the Unity Hub to install them. The module you need is UWP Build Support. You can install it either when you install a new Unity Editor version, or add it to an existing Unity Editor install. To install modules: