You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: DocGen/Documentation/HowTos/WLTviaMRFeatureTool.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,16 @@ The Mixed Reality Feature Tool can be an extremely useful way to get the World L
7
7
8
8
More information on the MR Feature Tool can be found in its [online documentation](https://docs.microsoft.com/windows/mixed-reality/develop/unity/welcome-to-mr-feature-tool), but it is extremely easy to use.
To get the full WLT functionality, simply select the latest version of "World Locking Tools" from the MR Feature Tool. Then proceed to [adding WLT to a scene](InitialSetup.md#adding-world-locking-tools-to-a-unity-scene), or the [quick start guide](QuickStart.md).
15
15
16
-
If getting the samples (which also requires MRTK), it is not necessary to first install the dependencies. Simply select the Samples package and the minimal set of required dependencies will also be installed. But see below.
16
+
If getting the samples (which also requires MRTK), it is not necessary to first install the dependencies. Simply select the Samples package and the minimal set of required dependencies will also be installed. But see [below](#samples-in-the-mr-feature-tool-writable-packages).
17
+
18
+
> [!NOTE]
19
+
> TL;DR version - If installing from the MR Feature Tool, you must install into a folder whose path length is 11 characters long or less, including the drive. This is explained in greater detail at the [end of this article](#about-the-installation-path-length-limit). So `e:\stuff\T1` will work, but `e:\stuff\T12` won't.
17
20
18
21
## Samples in the MR Feature Tool (writable packages)
19
22
@@ -73,3 +76,19 @@ The simple dependency graph is linear. In the following list, each item depends
73
76
Another option for acquiring WLT is to get the source directly from GitHub (either via git or as a zipfile) and copy it into your project. This is equivalent to installing from the .unitypackages above.
74
77
75
78
To get the source matching a release, find the [appropriate branch](https://github.com/microsoft/MixedReality-WorldLockingTools-Unity/branches). For example, the source for release v1.2.4 is in branch `release/v1.2.4`.
79
+
80
+
## About the installation path length limit
81
+
82
+
### When installing from Mixed Reality Feature Tool
83
+
84
+
Windows imposes a [maximum path length of 260 characters](https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd). The Frozen World Engine package has some very long internal paths. The Mixed Reality Feature Tool (or Unity's UPM, depending whom you want to blame), adds some very long strings in the middle.
85
+
86
+
You will know if you have passed the MAX_PATH limit if you see errors in the Unity Console complaining about not being able to find part of a path.
87
+
88
+
Ironically, the first file to hit the limit isn't even used on Windows, it's for the iOS build (iOS doesn't have the MAX_PATH limit). WLT will build and run fine without it. However, the existence of the file will interfere with the running of some important MRTK scripts, and probably destabilize Unity in other subtle ways.
89
+
90
+
### When installing from .unitypackage files or from github
91
+
92
+
Without the UPM/MRFeatureTool inserting characters into the installation paths, there is a bit more breathing room. However, the internal path hierarchy within the Frozen World Engine is still quite deep. When installing from unitypackage files or from github, the installation folder should be about 100 characters long or less.
93
+
94
+
There are more investigations and discussions in this [WLT issue](https://github.com/microsoft/MixedReality-WorldLockingTools-Unity/issues/161).
0 commit comments