Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.0.7f1

Issue ID

UUM-74239

Regression

No

A user gets an error "Failed to import package with error: Cannot import package in play mode." when tries to import TMP essentials, examples or extras

--

-

*Steps to reproduce:*
# Create a project with 6000.0.7f1;
# In the "Hierarchy" window make a right mouse click and select UI;
# Select "Text - TextmeshPro"
# Click" Import TPM Essentials;
# Go to "Play" mode;
# Go to menu Window -> TextMeshPro and select any import option;
# Observe the Console.

*Actual results:* The user gets error in the Console:

Failed to import package with error: Cannot import package in play mode.
UnityEditor.AssetDatabase:ImportPackage (string,bool)
TMPro.TMP_PackageUtilities:ImportEssentialResources () (at ./Library/PackageCache/com.unity.ugui/Editor/TMP/TMP_PackageUtilities.cs:1078)
TMPro.TMP_PackageUtilities:ImportProjectResourcesMenu () (at ./Library/PackageCache/com.unity.ugui/Editor/TMP/TMP_PackageUtilities.cs:1030)

A screenshot is added below in the "Attachments" section.

*Expected results:* Import menu options should be disabled. A user should be allowed to execute a function if it is not possible.

*Reproducible with versions:* 6000.0.7f1

*Not reproducible with versions:* -

*Can’t test with versions:* -

*Tested on (OS):* macOS, Sonoma 14.5

  1. Resolution Note:

    Only high user pain bugs will be addressed. This does not affect users workflow.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.