Unity3D移植到Windows phone8 遇到的点点滴滴

时间:2022-09-09 07:08:55

LitJson.JsonMapper:
Type.GetInterface(String)
=》Type.GetInterface(String,Boolean)

protobuf应位于Assets/Plugins目录下,不能多封一层

System.DuplicateWaitObjectException();
=》System.ArgumentException

Encoding.UTF8.GetString(String);
=>Encoding.UTF8.GetString(String,int,int);

Encoding.Default
=>Encoding.UTF8

shader里面的tex2D (sampler2D, float2(half))
=>tex2D (sampler2D,half(half,half))

TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now)
=>TimeZoneInfo.Local.BaseUtcOffset

System.Runtime.Serialization命名空间下目前就已知这个特性不能使用:[OptionalField];

下面错误是因为某个类继承了ISerializationCallbackReceiver接口

[

NullReferenceException: Object reference not set to an instance of an object.
at TG.EventDataGroup.OnBeforeSerialize()
at TG.EventDataGroup.Unity_RemapPPtrs()
at FrameEventCollect.Unity_RemapPPtrs()
at TweenEventData.Unity_RemapPPtrs()
at UnityEngine.IUnitySerializable.$Invoke1(Int64 instance, Int64* args)
at UnityEngine.Internal.$MethodUtility.InvokeMethod(Int64 instance, Int64* args, IntPtr method)

]

Unity3D移植到Windows phone8 遇到的点点滴滴