KIT-ISAS / iviz

Utilities for visualizing and working with ROS data using C# and Unity. Part of the ROBDEKON project.
MIT License
120 stars 27 forks source link

ArgumentException: type, when trying to add a pointcloud2 topic on Desktop #10

Open johannes-graeter opened 3 years ago

johannes-graeter commented 3 years ago

Hi there,

first of all: great job on this project! I tried to run iviz on Ubuntu 20.04 with Unity 2019.4.23 When adding a Pointcloud2 topic, I got the follwing error on clicking the topic:

ArgumentException: type Iviz.App.ModuleListPanel.CreateModuleForTopic (System.String topic, System.String type) (at Assets/Application/Panels/ModuleListPanel.cs:688) Iviz.App.AddTopicDialogData.OnItemClicked (System.Int32 index, System.String _) (at Assets/Application/Panels/Dialogs/AddTopicDialogData.cs:119) Iviz.App.ItemListDialogContents.RaiseClicked (System.Int32 id, System.String text) (at Assets/Application/Panels/Dialogs/ItemListDialogContents.cs:225) Iviz.App.ItemListDialogContents+ItemEntry+<>c__DisplayClass8_0.<.ctor>b__0 () (at Assets/Application/Panels/Dialogs/ItemListDialogContents.cs:88) UnityEngine.Events.InvokableCall.Invoke () (at /home/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:166) UnityEngine.Events.UnityEvent.Invoke () (at /home/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:58) UnityEngine.UI.Button.Press () (at /home/graeter/Unity/Hub/Editor/2019.4.23f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68) UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at /home/graeter/Unity/Hub/Editor/2019.4.23f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at /home/graeter/Unity/Hub/Editor/2019.4.23f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at /home/graeter/Unity/Hub/Editor/2019.4.23f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261) UnityEngine.EventSystems.EventSystem:Update() (at /home/graeter/Unity/Hub/Editor/2019.4.23f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)

any leads/suggestions how to solve it?

akzeac commented 3 years ago

Oh no, I thought I had uploaded the fix already. I hope it works well in the latest push.