- Home /
Unity 5.5 ArgumentException: Set Method not found for 'interactable'
hi guys anyone have a clue about what's going wrong with my iOS unity game?
ArgumentException: Set Method not found for 'interactable'
at PingCloudRegions+<ConnectToBestRegionInternal>c__Iterator2.Reset () [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.ReflectionUtils.SetMemberValue (System.Reflection.MemberInfo member, System.Object target, System.Object value) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.ReflectionUtils.SetMemberValue (System.Reflection.MemberInfo member, System.Object target, System.Object value) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.ReflectionUtils.SetMemberValue (System.Reflection.MemberInfo[] memberInfo, System.Object target, System.Object value) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.FsmProperty.SetValue () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Actions.SetProperty.OnUpdate () [0x00000] in <filename unknown>:0
at System.Net.Security.SslStream.Flush () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.FsmState.OnUpdate () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Fsm.Update () [0x00000] in <filename unknown>:0
at PlayMakerFSM.Update () [0x00000] in <filename unknown>:0
at System.IComparable`1[T].CompareTo (.T other) [0x00000] in <filename unknown>:0
at System.IComparable`1[T].CompareTo (.T other) [0x00000] in <filename unknown>:0
at System.IComparable`1[T].CompareTo (.T other) [0x00000] in <filename unknown>:0
at System.IComparable`1[T].CompareTo (.T other) [0x00000] in <filename unknown>:0
System.IComparable`1:CompareTo(T)
System.IComparable`1:CompareTo(T)
System.IComparable`1:CompareTo(T)
System.IComparable`1:CompareTo(T)
Answer by JoshPeterson · Jan 06, 2017 at 12:51 PM
I'm not too familiar with PlayMaker, but it looks like there is a type named interactable
which should have a method named Set
, but does not. I suspect that method is only accessed via reflection, and was removed by the managed code stripper in the Unity build toolchain.
You can use a link.xml file to explicitly require a type, namespace, or assembly to be preserved from stripping. See this part of the manual for more details:
https://docs.unity3d.com/Manual/iphone-playerSizeOptimization.html
Answer by Alex-Chouls · Jan 07, 2017 at 09:18 PM
This does look like a stripping issue that should be fixed with a link.xml file. We have a wizard on the PlayMaker Forums to help create a link.xml file for your project: http://hutonggames.com/playmakerforum/index.php?topic=11126.0
Your answer
![](https://koobas.hobune.stream/wayback/20220612104133im_/https://answers.unity.com/themes/thub/images/avi.jpg)