Unity-Technologies/ROS-TCP-Connector

Unity cannot load the HudPanel

chuck-saunders opened this issue · 1 comments

Describe the bug

Unity cannot load the HUDPanel.cs script because HudPanel inherits from MonoBehaviour but the script is named "HUDPanel.cs". The class name and filename are not exact matches (HudPanel vs. HUDPanel) so it doesn't load.

To Reproduce
Steps to reproduce the behavior:

  1. Open any project that has the ROS-TCP-Connector
  2. Try to add the HUDPanel.cs script to any GameObject
  3. See error

Console logs / stack traces

The script don't inherit a native class that can manage a script.

Expected behavior
The script is added to the GameObject

Screenshots
If applicable, add screenshots or videos to help explain your problem.
image

Environment (please complete the following information, where applicable):

  • Unity Version: Unity 2020.3.2f1
  • Unity machine OS + version: Ubuntu 18.04
  • ROS machine OS + version: Ubuntu 18.04, ROS Melodic
  • ROS–Unity communication: loopback/same machine
  • Branch or version: ROS-TCP-Connector v0.6.0

Additional context
Add any other context about the problem here.

Thanks, I have merged your PR.