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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note:
Only high user pain bugs will be addressed. This does not affect users workflow.