Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
17.12k stars 4.15k forks source link

Cant import package #5651

Closed XiYuan68 closed 2 years ago

XiYuan68 commented 2 years ago

Describe the bug Able to install, but cant import the package as https://github.com/Unity-Technologies/ml-agents/blob/release_18_docs/docs/Getting-Started.md#installation says

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Package Manager'
  2. Click on 'ML Agents'
  3. Scroll down to '....'
  4. See error: there is not a import button

Console logs / stack traces none

Screenshots UnityMLAgentImport

Environment (please complete the following information):

I notice that there is a Not Responding Baking shaders at the right bottom of the editor, would that cause the problem? Thanks advance for any advice.

jrupert-unity commented 2 years ago

The way I've always used the examples is by following these steps:

  1. From the Unity Hub, ADD a new project.
  2. Navigate to the ml-agents folder you got from GitHub
  3. Choose the "Project" folder there.
  4. This should load a project with scenes for all of the Examples, including 3DBall, which you can open by navigating to the corresponding Scene folder for the example you want from the Project window.

I'll will follow up to understand why the documented steps do not work, but hopefully this helps in the meantime.

XiYuan68 commented 2 years ago

Thank you for the help! This is a nice work-around, but being able to import individual small projects like 3DBall and such would be more flexible.

xcao65 commented 2 years ago

The ask has been fulfilled by this commit: https://github.com/Unity-Technologies/ml-agents/commit/ed0aabc6780230eddc06fd53dd3250d8375ab161

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.