Ml-agents: ML-Agents Release 3 missing SideChannelManager?

Created on 18 Jun 2020  路  2Comments  路  Source: Unity-Technologies/ml-agents

Describe
I was follow the docs about Custom Side Channels and get this error in my VScode editor:
error CS0103: The name 'SideChannelManager' does not exist in the current context

Screenshots
error

Environment:

  • Unity Version: Unity 2019.4.0f1
  • OS + version: Windows 10
  • _ML-Agents version_: ML-Agents Release 3
bug

Most helpful comment

Hi,
Thanks for catching this; the actual class name is SideChannelsManager.

I'll either rename the class to be consistent with the python version, or update the docs.

All 2 comments

Hi,
Thanks for catching this; the actual class name is SideChannelsManager.

I'll either rename the class to be consistent with the python version, or update the docs.

Alright then, using this in ML-Agents Release 3 would work!

using Unity.MLAgents.SideChannels;

void Awake()
{
    mazeChannel = new MazeChannel();
    SideChannelsManager.RegisterSideChannel(mazeChannel);
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

MrGitGo picture MrGitGo  路  4Comments

Sohojoe picture Sohojoe  路  3Comments

green4you picture green4you  路  4Comments

DVonk picture DVonk  路  3Comments

MarkTension picture MarkTension  路  3Comments