VSCode <-> Unity error
Posted: 04 Feb 2024, 13:44
Hi,
Just setup Noesis in Unity and working through tutorial content. Encountered an error (log message below).
1. Installed the Hello World sample
2. Selected the "MainWindow" file in Unity, live preview plays fine
3. Switched to VSCode, edited "World" to be "There", switched back to Unity and it played the preview with "Hello There" as expected
4. Switched back to VSCode, cursor at end of "There", press "!" and got a bunch of errors in the Unity console in the background.
5. Tried several ways, and backspacing and deleting works fine, but pressing any new character causes errors in the Unity console.
Cheers,
Brett
ArgumentException: name
Parameter name: Name cannot be empty
System.Reflection.Emit.AssemblyBuilder.GetType (System.String name, System.Boolean throwOnError, System.Boolean ignoreCase) (at <dcf6bec1c5764d29a37432d4b047f650>:0)
System.Reflection.Assembly.GetType (System.String name) (at <dcf6bec1c5764d29a37432d4b047f650>:0)
Noesis.Extend.FindType (System.String name) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Extend.cs:2025)
Noesis.Extend.RegisterType (System.String typeName) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Extend.cs:1990)
UnityEngine.Debug:LogException(Exception)
NoesisUnity:OnUnhandledException(Exception) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/NoesisUnity.cs:380)
Noesis.Error:UnhandledException(Exception) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Error.cs:18)
Noesis.Extend:RegisterType(String) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Extend.cs:1999)
NoesisLangServer:Noesis_UpdateLangServer()
<>c:<.cctor>b__0_0() (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Editor/NoesisLangServer.cs:40)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)
Just setup Noesis in Unity and working through tutorial content. Encountered an error (log message below).
1. Installed the Hello World sample
2. Selected the "MainWindow" file in Unity, live preview plays fine
3. Switched to VSCode, edited "World" to be "There", switched back to Unity and it played the preview with "Hello There" as expected
4. Switched back to VSCode, cursor at end of "There", press "!" and got a bunch of errors in the Unity console in the background.
5. Tried several ways, and backspacing and deleting works fine, but pressing any new character causes errors in the Unity console.
Cheers,
Brett
ArgumentException: name
Parameter name: Name cannot be empty
System.Reflection.Emit.AssemblyBuilder.GetType (System.String name, System.Boolean throwOnError, System.Boolean ignoreCase) (at <dcf6bec1c5764d29a37432d4b047f650>:0)
System.Reflection.Assembly.GetType (System.String name) (at <dcf6bec1c5764d29a37432d4b047f650>:0)
Noesis.Extend.FindType (System.String name) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Extend.cs:2025)
Noesis.Extend.RegisterType (System.String typeName) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Extend.cs:1990)
UnityEngine.Debug:LogException(Exception)
NoesisUnity:OnUnhandledException(Exception) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/NoesisUnity.cs:380)
Noesis.Error:UnhandledException(Exception) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Error.cs:18)
Noesis.Extend:RegisterType(String) (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Runtime/API/Core/Extend.cs:1999)
NoesisLangServer:Noesis_UpdateLangServer()
<>c:<.cctor>b__0_0() (at /Users/brett/Downloads/NoesisGUI-Unity-3.2.2-Indie/Editor/NoesisLangServer.cs:40)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)