Exception using Noesis and .Net Compability level 2.0 on IOS
Posted: 26 Oct 2015, 13:26
Hi, when running my unity application on IOS, with .NET 2.0 as Api compatibility level I get the following exception:
ExecutionEngineException: Attempting to call method 'System.Reflection.MonoProperty::GetterAdapterFrame' for which no ahead of time (AOT) code was generated.
at Noesis.Extend.GetPropertyValue_String (IntPtr unityType, Int32 propertyIndex, IntPtr cPtr) [0x00000] in <filename unknown>:0
at Noesis.UIRenderer.Noesis_CreateRenderer (IntPtr root) [0x00000] in <filename unknown>:0
at Noesis.UIRenderer..ctor (Noesis.FrameworkElement content, Vector2 offscreenSize, UnityEngine.GameObject target) [0x00000] in <filename unknown>:0
at NoesisGUIPanel.LoadXaml () [0x00000] in <filename unknown>:0
at NoesisGUIPanel.OnEnable () [0x00000] in <filename unknown>:0
Noesis.UIRenderer:Noesis_CreateRenderer(IntPtr)
Noesis.UIRenderer:.ctor(FrameworkElement, Vector2, GameObject)
NoesisGUIPanel:LoadXaml()
NoesisGUIPanel:OnEnable()
I'm forced to .Net 2.0 profile due to a plugin requiring it. When removing the plugin and reverting to .NET2.0 subset everything works. But unfortunately the plugin is needed. Do you know if Noesis should have any problems running with Unity with the desired compatibility level, or do you have an idea what could be causing this?
I'm using Unity 5.2.1f1 and version 1.2.4 of NoesisGui.
ExecutionEngineException: Attempting to call method 'System.Reflection.MonoProperty::GetterAdapterFrame' for which no ahead of time (AOT) code was generated.
at Noesis.Extend.GetPropertyValue_String (IntPtr unityType, Int32 propertyIndex, IntPtr cPtr) [0x00000] in <filename unknown>:0
at Noesis.UIRenderer.Noesis_CreateRenderer (IntPtr root) [0x00000] in <filename unknown>:0
at Noesis.UIRenderer..ctor (Noesis.FrameworkElement content, Vector2 offscreenSize, UnityEngine.GameObject target) [0x00000] in <filename unknown>:0
at NoesisGUIPanel.LoadXaml () [0x00000] in <filename unknown>:0
at NoesisGUIPanel.OnEnable () [0x00000] in <filename unknown>:0
Noesis.UIRenderer:Noesis_CreateRenderer(IntPtr)
Noesis.UIRenderer:.ctor(FrameworkElement, Vector2, GameObject)
NoesisGUIPanel:LoadXaml()
NoesisGUIPanel:OnEnable()
I'm forced to .Net 2.0 profile due to a plugin requiring it. When removing the plugin and reverting to .NET2.0 subset everything works. But unfortunately the plugin is needed. Do you know if Noesis should have any problems running with Unity with the desired compatibility level, or do you have an idea what could be causing this?
I'm using Unity 5.2.1f1 and version 1.2.4 of NoesisGui.