IL代码无效

时间:2016-04-14 18:37:53

标签: unity3d unity-networking

我更新了Unity,然后将我的项目从5.2.4更新到5.3.4。然后我更新了资产商店的一些资产。我解决了大部分问题。一个人继续躲避我。

[Exception] InvalidProgramException: Invalid IL code in com.combatcoding.pso.CommLink:SupplyResource (string,int): IL_0002: call      0x06001fda
0. ResourceNeeded.OnClick() at Assets/_PSO/Scripts/ResourceNeeded.cs:85
1. UnityEngine.Events.InvokableCall.Invoke() at          C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:144
2. UnityEngine.Events.InvokableCallList.Invoke() at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:621
3. UnityEngine.Events.UnityEventBase.Invoke() at C:/buildslave/unity/build/Runtime/Export/UnityEvent.cs:756
4. UnityEngine.Events.UnityEvent.Invoke() at C:/buildslave/unity/build/Runtime/Export/UnityEvent_0.cs:53
5. UnityEngine.UI.Button.Press() at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:35
6. UnityEngine.UI.Button.OnPointerClick() at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:44
7. UnityEngine.EventSystems.ExecuteEvents.Execute() at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:52
8. UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler]() at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:269
9. UnityEngine.EventSystems.EventSystem.Update()

我不知道从哪里开始解决这个问题。我现在无法弄清楚究竟出了什么问题。

有人能让我指出正确的方向吗?

由于

0 个答案:

没有答案