facebookresearch/LIGHT

Agent name speaking not visible in frontend

Lucaskabela opened this issue · 0 comments

Problem

The agent who is acting's name should be visible on chat bubbles on the frontend of the game app. It is currently not.

Problem traced to

actor={agents[msg.actors[0]]}

agents is constantly empty, so trying to access a value results in Null, displaying nothing

Tracing where agents is set, we find that the rule to update the agents list is always false

const hasUpdatedAgentsInfo = false; //!!action.present_agent_ids;