Skip to content

Commit 144e8da

Browse files
authored
Merge pull request #7064 from michael-house/patch-1
Fix Unity version check and message
2 parents a04378f + fc4a7ef commit 144e8da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MixedRealityToolkit/Utilities/Editor/EditorProjectUtilities.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static EditorProjectUtilities()
2929
/// </remarks>
3030
public static void CheckMinimumEditorVersion()
3131
{
32-
#if !UNITY_2018_4_OR_NEWER
32+
#if !UNITY_2018_4_OR_NEWER && !UNITY_2019_1_OR_NEWER
3333
DisplayIncorrectEditorVersionDialog();
3434
#endif
3535
}
@@ -42,7 +42,7 @@ private static void DisplayIncorrectEditorVersionDialog()
4242
{
4343
if (!EditorUtility.DisplayDialog(
4444
"Mixed Reality Toolkit",
45-
"The Mixed Reality Toolkit requires Unity 2018.3 or newer.\n\nUsing an older version of Unity may result in compile errors or incorrect behavior.",
45+
"The Mixed Reality Toolkit requires Unity 2018.4 or newer.\n\nUsing an older version of Unity may result in compile errors or incorrect behavior.",
4646
"Continue", "Close Editor"))
4747
{
4848
EditorApplication.Exit(0);

0 commit comments

Comments
 (0)