Как удалить проект в юнити хаб
![]()
I have around 6 million projects on my unity hub project list, most of them called something like ‘testyadadyada’, how can I clean this mess up? There doesn’t seem to be a way to do this? I deleted some projects manually from my HD but unityhub pretends they’re still there,
![]()
You’ll have to open the projects you have deleted in hub. Then you’ll get an error message which says something like «Can’t find project» and then project is removed from the list. I can’t believe Unity still hasn’t added proper delete project button anywhere!
I’d check appdata
Following your advice, I deleted all files under two folders:
I had to terminate running Unity Hub processes from Task Manager first. Closing Unity Hub window did not work for me. Ugly project list is gone. All is good so far but I am not sure if there are any side effects. Do it at your own risk. My Unity Hub version: 2.0.0
Removing an installed package
When you “remove” a package from your project, the Package Manager is actually removing the project’s direct dependency In the context of the Package Manager, a dependency is a specific package version (expressed in the form package_name@package_version ) that a project or another package requires in order to work. Projects and packages use the dependencies attribute in their manifests to define the set of packages they require. For projects, these are considered direct dependencies; for packages, these are indirect, or transitive, dependencies. More info
See in Glossary from your project manifest Each Unity project has a project manifest, which acts as an entry point for the Package Manager. This file must be available in the <project>/Packages directory. The Package Manager uses it to configure many things, including a list of dependencies for that project, as well as any package repository to query for packages. More info
See in Glossary . If there are no other packages or feature sets that have a dependency on this package, any Editor or run-time functionality that it implemented is no longer available in your project. For more information about direct and indirect dependencies, see Dependency and resolution.
If another installed package or an installed feature set depends on the package you are trying to remove, this procedure removes only the dependency from your project manifest. The package itself and all its functionality is still installed in your project, even though it might not appear in the In Project list context. For example, the Show Dependencies setting is disabled by default, so packages that are installed as indirect dependencies don’t appear until you enable this setting.
Important: If you use this procedure to remove a package that is embedded in your project, the Package Manager deletes the entire package folder from your machine. However, removing packages installed from any other source (including local packages) removes only the reference to the package in the manifest but leaves the package itself and its contents intact.
To remove an installed package:
Open the Package Manager window and select In Project from the Packages Packages are collections of assets to be shared and re-used in Unity. The Unity Package Manager (UPM) can display, add, and remove packages from your project. These packages are native to the Unity Package Manager and provide a fundamental method of delivering Unity functionality. However, the Unity Package Manager can also display Asset Store packages that you downloaded from the Asset Store. More info
See in Glossary drop-down menu.
Select the package you want to remove from the list of packages. The details view now displays that package’s information.
Click the Remove button if it’s enabled. If it’s disabled, you cannot remove this package. For more information, see Locked and non-removable packages.
Remove button in the bottom right corner of the details view
When the progress bar finishes, the package disappears from the list.
If you want to restore a removed package, follow the instructions for installing a package.
Locked and non-removable packages
You can only remove packages which are not required by another package or a feature set. The Package Manager enforces this by disabling the Remove button for all required packages.
Tip: If you don’t see the Dependencies section, follow these instructions to enable the Show Dependencies setting:
Select Advanced Project Settings under the advanced settings icon.
Advanced Project Settings opens up the Package Manager project settings window
The Package Manager project settings A broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
See in Glossary window appears.
Under the Advanced Settings group, enable the Show Dependencies option.
Close the Project Settings window. Any packages that are only installed as dependencies in your project now appear in the package list and the detail view now displays a Dependencies section.
How to Delete Projects in Unity? | 6 Simple Steps
Unity enables the users to make the game projects 2-dimensional or 3-dimensional technology. Unity engine allows the Unity editors to compose the initial script of API. Unity editor scripts their projects in the order of the game. The initial programming language uses in the Unity engine. Due to extensive competition, the Unity editors gather so much data to their devices. We will tell you how to delete projects in Unity.
Please enable JavaScript
4 Steps to Delete Projects in Unity:
You can get rid of the useless projects stuffed in your PC. We articulate the content to tell you the way by following few steps. You will better understand that how to delete Projects in Unity.
Find the Unity:
Find the unity project folder that you have stored on your device. Most of us keep stores things in the Hard-Drives section. In case of forgetting, search folder from the search bar.
Unity Projects:
Ascertain you find the folder of the Unity Projects you need to open it. As you open the folder, few files appear on your screen. You can delete the entire folder or may choose between files.
Delete Entire Folder:
If you are no longer to work on the Unity Projects, delete the entire folder. You needed to do Right-Click on the folder of the Unity project. Then, select the delete button from the drop-menu. Here we answered that how to delete Projects in Unity entirely.
Choices in Files:
Meanwhile, you desire to work on the Unity Project. And you are seeking to free the space of your device by the useless data, follow the instructions.
6 steps to Delete the Project on Unity:
- Go to the Unity project folder.
- Three files appear named below:
- 1: Animate
- 2: Standard Assets Example Project
- 3: Re-Work Car
- Now leave the last two files alone.
- Then, select the Animate file by right-clicking.
- The drop-menu will appear.
- Select the Remove or Delete option from the archive.
You will successfully learn how to delete Projects in Unity. Meanwhile, the procession of the deletion does not satisfy you. And you want to get rid of the Unity Hub. You can uninstall the entire program from your device. To uninstall the Unity Hub, follow the method.
Method to Remove Unity Hub
Before removing the program from your device, remove its shortcut first. Gradually remove the Unity Hub from your device.
3 Steps to Remove shortcut:
- Make a right-click on the Shortcut of Unity Hub.
- The menu will appear with the option of Quit Unity Hub.
- Select the option of Quit Unity Hub from the bottom of the list.
13 Steps to Delete the Unity Hub from Control Panel
To delete the Unity Hub from your device, follow the method.
- Go to the Desktop.
- Make a right-click the menu will appear.
- Select the Control Panel from the menu.
- Now make click on the category button.
- Category present on the right top of the page.
- Then, go to the program to uninstall the specific program.
- Select the Unity Hub 2.4.1 file from the list of programs.
- Make a right-click, the single option of uninstalling will appear.
- Click on Uninstall to delete the Unity Hub from the Control Panel entirely.
- The delete bar will appear and ask for confirmation.
- Select Uninstall from the message box to confirm.
- Ascertain the uninstallation completes, the message will appear to end.
- Select the Finish button from the bottom of the appearing window.
Congratulation! you have successfully learned how to delete Projects in Unity. In Advance, you have to learn how to delete the Unity hub from your device.
Sharaz
Hi, I am Sharaz, a Tech fan and gaming lover since my childhood and have been playing different online games like PubG/Call of duty for last many years. Here on this website, I will give you all of your answers related to different games and softwares. I love to give you tips on how to use the software and play game in the best possible way.
How to delete a project from Unity Hub ??
![]()
I have around 6 million projects on my unity hub project list, most of them called something like 'testyadadyada', how can I clean this mess up? There doesn't seem to be a way to do this? I deleted some projects manually from my HD but unityhub pretends they're still there,
![]()
You'll have to open the projects you have deleted in hub. Then you'll get an error message which says something like "Can't find project" and then project is removed from the list. I can't believe Unity still hasn't added proper delete project button anywhere!
I'd check appdata
Following your advice, I deleted all files under two folders:
I had to terminate running Unity Hub processes from Task Manager first. Closing Unity Hub window did not work for me. Ugly project list is gone. All is good so far but I am not sure if there are any side effects. Do it at your own risk. My Unity Hub version: 2.0.0
Очистка и перенос существующего проекта Unity на новый тот или иной компьютер
Я хочу скопировать свой существующий проект Unity в новый пустой проект Unity. Похоже, что все ссылки на объекты и многие сценарии не настроены должным образом / не присутствуют в Иерархии в моих сценах.
Я только скопировал папку с ресурсами / package.json в новый проект Unity, потому что остальные файлы грязные и кэшировали много бесполезной информации.
Где находятся файлы с подробными данными о сценах? Я хочу скопировать это, чтобы я мог запускать свои сцены со всеми ссылками на объекты и сценариями, установленными на правильные игровые объекты.
2 ответа
Перед запуском всегда делайте резервные копии — мало ли!
Убираться
Как правило, вам всегда понадобятся папки Assets , ProjectSettings и Packages .
Все остальное вы можете удалить, и Unity воссоздаст / перекомпилирует их, когда вы снова откроете проект.
Также см. За кулисами (более новые версии Unity см. в Использование внешнего контроля версий вместо этого)
При резервном копировании проекта или добавлении проекта в репозиторий контроля версий вы должны включить основную папку проекта Unity, содержащую как Активы, и папки ProjectSettings и Packages. Вся информация в этих папках имеет решающее значение для работы Unity.
Как говорят имена
- Assets — это все ваши активы, такие как сценарии, изображения, сборные конструкции и т. Д., Включая также сцены.
- ProjectSettings — это общие настройки вашего проекта, касающиеся таких вещей, как качество, физика, струны плеера и т. Д.
- Packages определяет, какие пакеты должны быть автоматически импортированы PackageManager ( manifest.json ), какие из них являются зависимостями, а какие даже локальными пакетами (если они есть)
Для меня некоторые файлы Library/*.asset имеют смысл сохранить. параметры сборки, целевая платформа и т. д., поэтому мне не нужно настраивать их/переключать платформу с нуля каждый раз, когда я «сбрасываю». Это зависит от вас, конечно, если вы хотите сделать это, а также.
Вы также можете использовать любую другую систему управления версиями. или, конечно, удалить соответствующие папки и файлы вручную, но я всегда использую GIT для моих проектов.
Также см. Использование внешних систем контроля версий с Unity, чтобы получить некоторую общую информацию о настройке версия, управляющая вашим проектом(ами).
Поэтому, когда я хочу очистить репозиторий, прежде чем копировать его, я обычно использую следующее как *.gitignore (это очень просто — для более полной и постоянно обновляемой версии см. тот, что на Github!).
Все, что здесь перечислено, можно в основном удалить и будет повторно скомпилировано при следующем открытии проекта в Unity. (Строки, начинающиеся с ! , являются исключениями, которые я добавил, потому что, как я сказал, имело смысл сохранить и их.)
И как сказал лично для меня иногда имеет смысл добавить
Если это еще не сделано, сначала инициализируйте запущенный репозиторий.
Это покажет некоторые предупреждения для каждого файла, который указан в .gitignore , но вы можете игнорировать эти предупреждения. Он только говорит что-то подобное, например
Вы пытаетесь добавить игнорируемый файл в коммит, и он будет пропущен
Сделать вашу первую фиксацию.
Теперь, наконец, вы можете просто запустить git clean
Который удаляет каждый файл, который не отслеживается (поэтому не забудьте всегда иметь все файлы, которые вы хотите сохранить, по крайней мере, в промежуточном состоянии ( git add ) или, лучше, сначала зафиксируйте) или будет игнорироваться *.gitignore .
Если вы не уверены, вы также можете добавить
Примечание. Если у вас уже был репозиторий .git , но впоследствии вы добавили или отредактировали .gitignore , также обратитесь к Как заставить Git «забыть» о файле, который был отслежен, но теперь находится в .gitignore?
Миграция с помощью UnityPackage
Другой вариант перемещения сцен или частей активов между двумя разными проектами — использование Пакет Unity. Обратите внимание, что это не будет включать какие-либо установленные пакеты, настройки и т. д., а только активы и их зависимости от активов (связанные префабы, материалы, текстуры и т. д.)!
Из текущего проекта экспортируйте UnityPackage
Выдержки из Документов:
-
Откройте проект, из которого вы хотите экспортировать активы.
-
Выберите в меню Активы → Экспорт пакета , чтобы открыть диалоговое окно «Экспорт пакета». (См. изображение диалогового окна «Экспорт пакета» ниже.)
-
В диалоговом окне выберите ресурсы, которые вы хотите включить в пакет, установив флажки напротив них.
-
Оставьте флажок «Включить зависимости» установленным, чтобы автоматически выбирать любые ресурсы, используемые выбранными вами.
-
Нажмите «Экспорт», чтобы открыть проводник, и выберите, где вы хотите сохранить файл пакета.
-
Назовите пакет и сохраните его в любом месте.
В качестве альтернативы шагу 2 вы также можете щелкнуть правой кнопкой мыши по папке Assets в Project View и найти параметр Export Package в контекстное меню.
а затем в новом проекте импортируйте UnityPackage
- Откройте проект, в который вы хотите импортировать активы.
- Выберите Активы → Импорт пакета → Пользовательский пакет .
- В проводнике файлов выберите нужный пакет, и появится диалоговое окно «Импорт пакета Unity» со всеми предварительно отмеченными элементами пакета, готовыми к установке. (См. Изображение диалогового окна «Импорт пакета Unity» ниже.)
- Выберите Import , и Unity поместит содержимое пакета в папку Assets , к которой вы можете получить доступ из вашего Project view .
В качестве альтернативы шагам 2 и 4 вы даже можете просто перетащить файл unitypackage в папку Assets через редактор Unity.