-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble Getting Set Up With ML-Agents Demo #6169
Comments
As for me, just comment these two lines - 307 & 308. I've just started, but after commenting training the 3d balls scene is working. |
Switched from develop to release_22_mm and commented out lines 307/308 in ModelOverrider.cs. This seems to address the warnings, but not the other errors (ones in red). Were you still getting those after your fix above? |
Hmm... you seem to have an outdated version of the repo. I can't repro this on the latest version of the develop branch. Have a look here: ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs Line 305 in cfb26e3
|
I also noticed from the screen cap, you're using U6. Can you try the following with U 2023.2? In the repo: git checkout develop
git pull
git clean -fxd This will reset your repo to a freshly cloned state. Then try to open it with 2023.2. Note: I'll be updating the develop branch to U6 in December. |
So I switched over to Unity 2023.2.20f1 (assuming that's the version you were referring to) and reset to a clean version of the develop branch. Ran into the same bugs. Note:
Any thoughts? |
This is an issue with the |
ModelOverrider.cs:305-306 were indeed commented out. And I'm using a direct clone of the repo, which tracks develop. |
Describe the bug
Hopefully this is the right forum for this. Attempting to run the ml-agents demo and running into some compile errors. After following the installation instructions from the repo, I attempt to run the scene, but encounter the following errors:
'ModelAsset' does not contain a definition for 'modelAssetData' and no accessible extension method
...'ModelAssetData' is inaccessible due to its protection level
Creating missing agent component for DevisionRequester in Agent
The scene also has pink agents instead of the textures pictured in the instructions. Figured I might have messed up the install somehow. Any ideas?
To Reproduce
Hard to recommend steps to reproduce since I thought I followed the instructions properly and am trying to figure out what went wrong.
Console logs / stack traces
Please wrap in triple backticks (```) to make it easier to read.
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: