0
Not a Bug

Errors with UMotion Pro and Bolt 2.0.5

Marshall Brooks 7 months ago updated by Lazlo Bonin (Lead Developer) 7 months ago 3

Upon adding the UMotion Pro asset, and then adding a variable of any sort, when you select the variable type dropdown, the dropdown is visually corrupted, and two of the following exception "ArgumentException: Illegal characters in path." are thrown. As follows are the stack traces.

Exception 1:

[Exception] ArgumentException: Illegal characters in path.
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
Path.GetFileName() :0

Path.GetFileNameWithoutExtension() :0

EditorTexture.Load() Assets/Ludiq/Ludiq.Core/Editor/Interface/Textures/EditorTexture.cs:273

EditorTexture.Load() Assets/Ludiq/Ludiq.Core/Editor/Interface/Textures/EditorTexture.cs:189

PluginResources.LoadIcon() Assets/Ludiq/Ludiq.Core/Editor/Plugins/PluginResources.cs:172

PluginResources.LoadIcon() Assets/Ludiq/Ludiq.Core/Editor/Plugins/PluginResources.cs:167

PluginResources.LoadSharedIcon() Assets/Ludiq/Ludiq.Core/Editor/Plugins/PluginResources.cs:181

Icons.Namespace() Assets/Ludiq/Ludiq.Core/Editor/Interface/Icons/Icons.cs:611

Icons.Icon() Assets/Ludiq/Ludiq.Core/Editor/Interface/Icons/Icons.cs:63

Ludiq.FuzzyOption`1[T].Icon() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyOption.cs:33

FuzzyOptionNode.PrepareDrawing() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyOptionNode.cs:91

FuzzyOptionNode.EnsureDrawable() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyOptionNode.cs:70

FuzzyWindow.OnOptionsGUI() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:1025

FuzzyWindow.OnLevelGUI() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:906

FuzzyWindow.OnGUI() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:820

MonoMethod.Invoke() :0

MonoMethod.Invoke() :0

MethodBase.Invoke() :0

HostView.Invoke() C:/buildslave/unity/build/Editor/Mono/HostView.cs:342

HostView.Invoke() C:/buildslave/unity/build/Editor/Mono/HostView.cs:336

HostView.OldOnGUI() C:/buildslave/unity/build/Editor/Mono/HostView.cs:129

IMGUIContainer.DoOnGUI() C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:266

IMGUIContainer.HandleIMGUIEvent() C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:438

IMGUIContainer.HandleIMGUIEvent() C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:412

ImmediateStylePainter.DrawImmediate() C:/buildslave/unity/build/Modules/UIElements/ImmediateStylePainter.cs:113

IMGUIContainer.DoRepaint() C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:98

VisualElement.Repaint() C:/buildslave/unity/build/Modules/UIElements/VisualElement.cs:862

VisualTreeRepaintUpdater.PaintSubTree() C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:310

VisualTreeRepaintUpdater.PaintSubTreeChildren() C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:328

VisualTreeRepaintUpdater.PaintSubTree() C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:314

VisualTreeRepaintUpdater.Update() C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:35

VisualTreeUpdater.UpdateVisualTree() C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:70

Panel.Repaint() C:/buildslave/unity/build/Modules/UIElements/Panel.cs:507

UIElementsUtility.DoDispatch() C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:230

UIElementsUtility.ProcessEvent() C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:68

GUIUtility.ProcessEvent() C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179

Exception 2:

[Exception] ArgumentException: Illegal characters in path.
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
Path.GetFileName() :0

Path.GetFileNameWithoutExtension() :0

EditorTexture.Load() Assets/Ludiq/Ludiq.Core/Editor/Interface/Textures/EditorTexture.cs:273

EditorTexture.Load() Assets/Ludiq/Ludiq.Core/Editor/Interface/Textures/EditorTexture.cs:189

PluginResources.LoadIcon() Assets/Ludiq/Ludiq.Core/Editor/Plugins/PluginResources.cs:172

PluginResources.LoadIcon() Assets/Ludiq/Ludiq.Core/Editor/Plugins/PluginResources.cs:167

PluginResources.LoadSharedIcon() Assets/Ludiq/Ludiq.Core/Editor/Plugins/PluginResources.cs:181

Icons.Namespace() Assets/Ludiq/Ludiq.Core/Editor/Interface/Icons/Icons.cs:611

Icons.Icon() Assets/Ludiq/Ludiq.Core/Editor/Interface/Icons/Icons.cs:63

Ludiq.FuzzyOption`1[T].Icon() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyOption.cs:33

FuzzyOptionNode.PrepareDrawing() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyOptionNode.cs:91

FuzzyOptionNode.EnsureDrawable() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyOptionNode.cs:70

FuzzyWindow.OnOptionsGUI() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:1025

FuzzyWindow.OnLevelGUI() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:906

FuzzyWindow.OnGUI() Assets/Ludiq/Ludiq.Core/Editor/Interface/Fuzzy/FuzzyWindow.cs:820

MonoMethod.Invoke() :0

MonoMethod.Invoke() :0

MethodBase.Invoke() :0

HostView.Invoke() C:/buildslave/unity/build/Editor/Mono/HostView.cs:342

HostView.Invoke() C:/buildslave/unity/build/Editor/Mono/HostView.cs:336

HostView.OldOnGUI() C:/buildslave/unity/build/Editor/Mono/HostView.cs:129

IMGUIContainer.DoOnGUI() C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:244

GUIUtility.ProcessEvent()

Bolt Version:
2.0.5
Unity Version:
2018.3.14f1
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2
GOOD, I'M SATISFIED
Satisfaction mark by Marshall Brooks 7 months ago
Pending Review

Hi Marshall,

Thanks for the report. Nope, that seems like some weirdly encoded character in the file names.

Is it specifically related to UMotion Pro? If you delete it from the project, everything's fine?

Yes, once the asset is removed from the project, everything is okay.

Not a Bug

After discussing on Discord, it seems that the issue is UMotion uses illegal characters in their file names, which makes the .NET filesystem call fail. Rather than catch this case which should fail, I recommend you file a bug report on UMotion's side.