[BUG] MRTK3 profile project validation warning for Standalone appears on other build type tabs. #915
Labels
Priority: Low
The priority of the issue is low.
Type: Bug
A problem with an existing feature that can be fixed with the next patched release.
Description
ISSUE
When creating a new MRTK3 project, if you don’t create an MRTK3 profile, you will generate a Project Validation warning “[MRTK3] MRTK3 profile may need to be assigned for the Standalone build target” on every build platform tab, even though it should only appear on the Windows, Mac, and Linux build tab. Please see attached screenshot.
STEPS
Create a new Unity 3D Core project using the editor of choice.
Switch to the UWP platform on the build tab, save and exit the project.
Run the Mixed Reality Feature Tool for Unity and add the following “standard” MRTK3 packages to the project. "com.microsoft.mixedreality.openxr-1.11.1", "com.microsoft.mrtk.graphicstools.unity-0.7.1", "com.microsoft.spatialaudio.spatializer.unity-2.0.55", "org.mixedrealitytoolkit.core-3.2.1", "org.mixedrealitytoolkit.input-3.2.1", "org.mixedrealitytoolkit.spatialmanipulation-3.3.0", "org.mixedrealitytoolkit.standardassets-3.2.0", "org.mixedrealitytoolkit.uxcomponents-3.3.0", "org.mixedrealitytoolkit.uxcomponents.noncanvas-3.1.3", "org.mixedrealitytoolkit.uxcore-3.2.1".
After adding the MRTK3 packages and exiting the tool, reopen your Unity project. As you haven’t yet set the default MRTK profile under Project Settings → MRTK3, you should get the extra warnings listed above under Project Settings → XR Plug-in Management → Project Validation for all other build types.
Click on the tabs for other build types you have (the editor must have those components installed. I.e. you have to have installed the Android component to have the Android tab).
RESULT
The Windows, Mac, Linux settings tab has the “Standalone” warning as expected. However the Android settings, & Universal Windows Platform settings tabs also have the “Standalone” warning along with their own same platform warning. So it probably appears incorrectly on all build targets an Editor version is capable of adding. See attached screenshot.
EXPECTED
The Project Validation warning “[MRTK3] MRTK3 profile may need to be assigned for the Standalone build target” should only appear on the Windows, Mac, Linux settings tab.
The text was updated successfully, but these errors were encountered: