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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab components are not rendered correctly in the Inspector Window when "HideFlags.HideInInspector" is used
- The "Editor.CreateInspectorGUI" method is being called twice when the Console and the Inspector windows are in the same panel
- [Linux Editor Only] Unity crashes on strtol_l when importing a specific .obj file
- The composition string is not cleared and is transferred to another Input Field when the previous Input Field loses focus in the macOS Player
- ShadowCaster2D does not update when using Sprite flipbook animation
Resolution Note:
Only high user pain bugs will be addressed. This does not affect users workflow.