Hi all
Here is the situation a met: I was trying to use TNAutoSync to sync gameObject's UnityEngine.Transform's global position and local rotation properties. It's all fine when I tried on PC and Mac, but when I made a build to iOS, I got these errors from xcode:
Jun 11 19:39:38 Bowies-new-iPad ProductName[876] <Warning>: ExecutionEngineException: Attempting to JIT compile method 'System.Reflection.MonoProperty:GetterAdapterFrame<UnityEngine.Transform, UnityEngine.Vector3> (System.Reflection.MonoProperty/Getter`2<UnityEngine.Transform, UnityEngine.Vector3>,object)' while running with --aot-only.
at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00000] in <filename unknown>:0
at TNAutoSync.Awake () [0x00000] in <filename unknown>:0
UnityEngine.Object:INTERNAL_CALL_Internal_InstantiateSingle(Object, Vector3&, Quaternion&)
UnityEngine.Object:Internal_InstantiateSingle(Object, Vector3, Quaternion)
UnityEngine.Object:Instantiate(Object, Vector3, Quaternion)
TNManager:OnCreateObject(Int32, Int32, UInt32, BinaryReader)
TNet.GameClient:ProcessPacket(Buffer, IPEndPoint)
TNet.GameClient:ProcessPackets()
TNManager:Update()
I know TNAutoSync is for test or prototype, does this mean that I can't use it on real ios devices or android devices because of mono reflection limitation?
I had already set "Api Compatibility Level" to .Net 2.0(Not .Net 2.0 subset) and "Stripping Level" to Disabled