Unity cannot load the HudPanel
chuck-saunders opened this issue · 1 comments
chuck-saunders commented
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:
- Open any project that has the ROS-TCP-Connector
- Try to add the HUDPanel.cs script to any GameObject
- 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.
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.
LaurieCheers-unity commented
Thanks, I have merged your PR.