Skip to content

Ray Gizmos is not available in Heuristic mode #3536

Closed
@BlueFisher

Description

@BlueFisher

The Gizmos of RayPerceptionSensorComponent is not available in Heuristic mode.

When the NN model is None and I click the play button, ML-Agents will get into the Heuristic mode. But I find the RayPerceptionSensor will not work. Specifically the int Write(WriteAdapter adapater); in ISensor will never be called, thus the m_RaySensor.debugDisplayInfo.rayInfos will always be Null.

BTW, I sometimes need m_RaySensor to draw rays with LineRender. Could you just make the m_RaySensor in RayPerceptionSensorComponentBase be protecetd.

  • ML-Agents version: v0.14.0

Metadata

Metadata

Assignees

Labels

bugIssue describes a potential bug in ml-agents.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions