Page 1 of 1

Exception: Unable to create an instance of 'UnityEngine.Vector3'

Posted: 05 Dec 2017, 16:45
by cajun_code
I am upgrading from 1.1.8 to 1.2.6. I am working with Unity 5.6.4 on Windows 10.
When I run the build I get this error on all my xaml files.
Exception: Unable to create an instance of 'UnityEngine.Vector3'
Noesis.Extend.NewCPtr (System.Type type, System.Object instance) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisExtend.cs:3456)
Noesis.Extend.GetInstanceHandle (System.Object instance) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisExtend.cs:3789)
Noesis.Extend.GetPropertyValue_BaseComponent (IntPtr nativeType, Int32 propertyIndex, IntPtr cPtr) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisExtend.cs:3015)
UnityEngine.Debug:LogException(Exception)
Noesis.Debug:LogException(Exception) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisDebug.cs:24)
Noesis.Error:SetNativePendingError(Exception) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisError.cs:33)
Noesis.Extend:GetPropertyValue_BaseComponent(IntPtr, Int32, IntPtr) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisExtend.cs:3019)
System.Object:wrapper_native_00007FFB6CD206B0()
Noesis.BuildToolKernel:BuildAll() (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:105)
NoesisSettings:Build(String) (at Assets/Editor/NoesisGUI/NoesisSettings.cs:362)
NoesisSettings:RebuildActivePlatforms(String) (at Assets/Editor/NoesisGUI/NoesisSettings.cs:91)
NoesisSettings:OnGUI() (at Assets/Editor/NoesisGUI/NoesisSettings.cs:350)
UnityEditor.DockArea:OnGUI()

Thanks,
cajun_code

Re: Exception: Unable to create an instance of 'UnityEngine.Vector3'

Posted: 05 Dec 2017, 16:51
by jsantos
I am upgrading from 1.1.8 to 1.2.6. I am working with Unity 5.6.4 on Windows 10.
Please, jump directly to v2.1.0b4, you can download it from the sticky thread. Thanks!

Re: Exception: Unable to create an instance of 'UnityEngine.Vector3'

Posted: 05 Dec 2017, 17:23
by cajun_code
I Tried that. it caused other issues such as NoesisGUIPanel was missing.

Is there any documentation on the upgrade process between 1.2.6 and 2.1.0b4?

Re: Exception: Unable to create an instance of 'UnityEngine.Vector3'

Posted: 11 Dec 2017, 12:22
by jsantos
Reading carefully the new guide about Noesis+Unity is the only thing I can recommend you for now. Also the Blend tutorial is also recommended.