cajun_code
Topic Author
Posts: 2
Joined: 30 Nov 2017, 17:13

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

05 Dec 2017, 16:45

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
 
User avatar
jsantos
Site Admin
Posts: 1872
Joined: 20 Jan 2012, 17:18
Contact:

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

05 Dec 2017, 16:51

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!
 
cajun_code
Topic Author
Posts: 2
Joined: 30 Nov 2017, 17:13

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

05 Dec 2017, 17:23

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?
 
User avatar
jsantos
Site Admin
Posts: 1872
Joined: 20 Jan 2012, 17:18
Contact:

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

11 Dec 2017, 12:22

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.

Who is online

Users browsing this forum: Bing [Bot] and 3 guests