Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] MRTK3 profile project validation warning for Standalone appears on other build type tabs. #915

Open
MarioUnity opened this issue Sep 5, 2024 · 1 comment
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.

Comments

@MarioUnity
Copy link

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.

097463dc-c70c-47f8-b1cd-46932528e5c7

@MarioUnity MarioUnity added Needs: Triage Needs to be triaged. Type: Bug A problem with an existing feature that can be fixed with the next patched release. labels Sep 5, 2024
@shaynie shaynie added Priority: Low The priority of the issue is low. and removed Needs: Triage Needs to be triaged. labels Sep 11, 2024
@shaynie shaynie assigned shaynie and keveleigh and unassigned shaynie Sep 11, 2024
@shaynie
Copy link
Contributor

shaynie commented Sep 11, 2024

@keveleigh please investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants