MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

MRFT Hangs at Discover Features

Open ewokthegreat opened this issue 2 years ago • 10 comments

Overview

Refers to: MRFT v1.0.2209.00 Preview After clicking the discover features button, feature list is blank and remains so. Clicking show preview features populates the list with MRTK 3 packages.

Expected behavior

Clicking the discover features button should show a list of release MRTK packages available to install or currently installed.

Actual behavior

No packages are displayed. Refresh button is disabled. There are no errors in the MRFT log file. image

Steps to reproduce

  1. Open MRFT (tried to run with elevated privileges and without, same result)
  2. Select project path (attempted with both existing and new projects with the same result)
  3. Click discover features

Deleted settings.json as suggested in similar issues and the issue persists.

Unity editor version

Tested with 2020.3.36f1 and 2021.5.6f1

Mixed Reality Toolkit release version

Not relevant.

ewokthegreat avatar Dec 06 '22 16:12 ewokthegreat

With show preview releases shows all the packages. This function is somewhat misleading.

ewokthegreat avatar Dec 06 '22 16:12 ewokthegreat

Looks like it could be a bug with auto-refreshing, as your screenshot with the blank screen shows "last updated 1/1/0001", which is obviously an issue.

Reopened to track.

Zee2 avatar Dec 06 '22 20:12 Zee2

Another report of this bug came in here: #11291. @davidkline-ms @keveleigh @MaxWang-MS, #11291 says that they had a functioning MRFT setup that spontaneously ceased working. Same issue with the 0001 bug.

Zee2 avatar Dec 13 '22 06:12 Zee2

@ewokthegreat, can you send us the log? there might not be errors, but there may be some clues.

david-c-kline avatar Dec 13 '22 21:12 david-c-kline

@ewokthegreat, can you also try renaming the settings file (it is next to the log) and re-run the tool? i have seen occasions where some settings have caused issues. if this works, that would be a fantastic clue to help us pinpoint the issue

thanks!

david-c-kline avatar Dec 13 '22 21:12 david-c-kline

@davidkline-ms, I have tried renaming the settings file and completely even deleting it with the same result. If "show preview releases" isn't toggled, the "discover features" list is empty.

ewokthegreat avatar Dec 13 '22 21:12 ewokthegreat

THAT is an interesting clue. thank you!

david-c-kline avatar Dec 13 '22 21:12 david-c-kline

From the log:

[12/13/2022 4:51:01 PM] Merging feed: Primary [12/13/2022 4:51:01 PM] Failed to update the catalog... refreshing. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List1.get_Item(Int32 index) at Microsoft.MixedReality.FeatureTool.Controls.FeaturePackageListEntryControlViewModel..ctor(FeaturePackageListEntry parent, AdoPackageInfo package, AdoPackageVersionInfo version, Boolean showAvailablePackages) at Microsoft.MixedReality.FeatureTool.Controls.FeatureCategoryListEntryControlViewModel.AddPackages(List1 packages) at Microsoft.MixedReality.FeatureTool.Pages.DiscoveryPageViewModel.UpdatePackageCollection(List`1 feeds)

david-c-kline avatar Dec 13 '22 21:12 david-c-kline

Thanks to the logs we have root caused the issue, which users will hit when the "Show preview releases" option is disabled. The bug will be fixed in the next release of Mixed Reality Feature Tool.

In the meantime, here's a workaround: Click on the settings button (gear icon) when the feature tool starts, go to the Feature tab and ensure the Show preview releases checkbox is checked. Then press OK and use the feature tool as you normally would.

MaxWang-MS avatar Dec 14 '22 01:12 MaxWang-MS

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!

IssueSyncBot avatar Jan 13 '24 00:01 IssueSyncBot