Quick and dirty fix for broken Button Icon Set Editor in MRTK 2.7.2
source link: https://localjoost.github.io/Quick-and-dirty-fix-for-broken-Button-Icon-Set-Editor-in-MRTK-272/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Quick and dirty fix for broken Button Icon Set Editor in MRTK 2.7.2
1 minute read
People who, like me, use the heck out of Mixed Reality Toolkit as the base for all their Mixed Reality projects and dutifully upgraded to the latest version - 2.7.2 - may have run into a nasty surprise when they try to create or edit a button icon set in Unity 2020:
If you know where to look for, you can find it mentioned in issue 9999 on the MRTK GitHub repo with the added comment “Unfortunately this PR wasn’t included in the 2.7.2 release (it barely missed the window). We’ll be sure to get it in for the next one!”
That was in July 22, 2021 and since then no new version of the MRTK have been released - 2.7.2 is still the current stable version of of today according to the MRTK Feature Tool:
So three months later, the stable version still has a broken Button Icon Set Editor. You have two options: either go for a development version of the MRTK and pull it in as source, which I would recommend for curious persons, but not necessarily for production releases - or you follow this dirty little band aid trick:
- Click here to get to the raw version of the fixed file
- Save this file in [yourproject]\Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@0a1b6508371c-1633336231433\SDK\Features\UX\Scripts\Buttons
And lo and behold:
Mind you this is a band aid, a little fix to be able to edit icons, and nothing more. It won’t ‘stick’ - if you reinstall the MRTK it will be overwritten, and you will have to apply this on every machine you and you co-workers develop on. But it’s a way to move forward while still using the stable version of the MRTK - while we wait for an official fix release.
Tags: HoloLens2 MRKT2 Unity3d Windows Mixed Reality
Updated: October 23, 2021
Comments
You can view the comments on GitHub.
Recommend
-
43
shade shader-toy-like fragment shader development assistant tool. blockchain. what it's like shader-toy, but with basically no features of shader-toy. but you can run it off-line, and not in...
-
31
[Robson Couto] recently found himself in need of MIDI interface for a project he was working on, but didn’t want to buy one just to use it once; we’ve all been there. Being the creative fellow that he is, he decided to come up wi...
-
27
README.md HTML DSL A quickly thrown together DSL for building HTML nodes with Swift's new function builders. let myDocument...
-
6
3 August 2015 / BigQuery Quick and dirty test of Google BigQuery's ability to scale As a quick weekend experiment I though...
-
4
Sharing Your Labor of Love: PyPI Quick and Dirty29 July 201316 October 2019A completely incomplete guide to packaging a Python module and sharing it with the world on PyPI.AbstractEven with the end of 2019...
-
7
-
10
Basic hand gesture recognition with MRTK on HoloLens 2 5 minute read For a little POC I was working on, I wanted to be able to detect...
-
7
Rounded corners in MRTK UI 5 minute read Rounded corners are suddenly hip again and all the rage, even in Microsoft land, as is clear...
-
11
Easy way of detecting which hand presses an MRTK button 1 minute read Some UI elements cannot be neutral to the fact whether or not s...
-
9
Finding the Floor with HoloLens 2 and MRTK 2.7.3 5 minute read Time flies… this blog is now past it’s 14th anniversary, in...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK