Topic Author
Posts: 71
Joined: 07 Nov 2013, 15:59

Update 1.1.4 => 1.1.5 Crash

18 Mar 2014, 17:12


I tryed several times to update my version on noesis gui but i always have a crash when i making it.
i first try to overide my old version with out cleaning my unity asset folder, it crashed.
So the second time i cleaned it, and the update doing well, but when i tryed to build gl and ios i had this error.
nvalidCastException: Cannot cast from source type to destination type.
System.Reflection.MonoProperty.GetterAdapterFrame[ItemListControl,Collection] (System.Reflection.Getter`2 getter, System.Object obj) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoProperty.cs:234)
System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoProperty.cs:292)
Noesis.Extend.GetPropertyValue_BaseComponent (IntPtr unityType, Int32 propertyIndex, IntPtr cPtr) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisExtend.cs:780)
(wrapper native-to-managed) Noesis.Extend:GetPropertyValue_BaseComponent (intptr,int,intptr)
Noesis.BuildToolKernel.Build () (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:140)
NoesisSettings.Build (System.String platform) (at Assets/Editor/NoesisGUI/NoesisSettings.cs:276)
NoesisSettings.OnGUI () (at Assets/Editor/NoesisGUI/NoesisSettings.cs:230)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
when i hit play it crash !

Have you got any special issue with that, and how to update noesis carrefully.

Thanks you
Mikael Gyth
Posts: 33
Joined: 15 Aug 2013, 12:53

Re: Update 1.1.4 => 1.1.5 Crash

19 Mar 2014, 10:42

I have experienced that type of error many times when updating Noesis. And usually deleting all the old files and doing a clean install works best (Remeber to clear out all the files, both in the editor and plugins folder). You also have to make sure that you are not using code that is obsolete after the update. (I'm not sure if that is the case here, but it has happened on earlier updates).
Topic Author
Posts: 71
Joined: 07 Nov 2013, 15:59

Re: Update 1.1.4 => 1.1.5 Crash

19 Mar 2014, 15:55

thanks for the reply i will try again with a clean remove !
User avatar
Site Admin
Posts: 3971
Joined: 20 Jan 2012, 17:18

Re: Update 1.1.4 => 1.1.5 Crash

19 Mar 2014, 22:25

We will try in the future detecting when the package is being upgraded and rebuild everything. For now it should be enough to do:

1. Remove Assets\StreamingAssets\NoesisGUI\Data\$PLATFORM\Unity for each platform
2. Rebuild data Window->NoesisGui->Settings menu
Topic Author
Posts: 71
Joined: 07 Nov 2013, 15:59

Re: Update 1.1.4 => 1.1.5 Crash

20 Mar 2014, 12:06

Thank you i will try, yes it would be very handy if you could detect, i always affraid to remove something i shouldn't

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests