Search Issue Tracker

Fixed in 5.5.3

Votes

10

Found in

5.5.0f3

Issue ID

858142

Regression

Yes

UNetWeaver error after upgrading project from 5.4 to 5.5/5.6

Networking

-

To reproduce:
1. Open attached project
2. Observe UNetWeaver error in console:

UNetWeaver error: Exception :System.MissingMethodException: Method not found: 'Mono.Cecil.ModuleDefinition.ImportReference'.
at Unity.UNetWeaver.Weaver.Weave (System.String assName, IEnumerable`1 dependencies, IAssemblyResolver assemblyResolver, System.String unityEngineDLLPath, System.String unityUNetDLLPath, System.String outputDir) [0x00050] in /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/UNetWeaver.cs:1653
at Unity.UNetWeaver.Weaver.WeaveAssemblies (IEnumerable`1 assemblies, IEnumerable`1 dependencies, IAssemblyResolver assemblyResolver, System.String outputDir, System.String unityEngineDLLPath, System.String unityUNetDLLPath) [0x0006e] in /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/UNetWeaver.cs:1763
UnityEngine.Debug:LogError(Object)
Unity.UNetWeaver.Log:Error(String) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/Program.cs:20)
Unity.UNetWeaver.Weaver:WeaveAssemblies(IEnumerable`1, IEnumerable`1, IAssemblyResolver, String, String, String) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/UNetWeaver.cs:1770)
Unity.UNetWeaver.Program:Process(String, String, String, String[], String[], IAssemblyResolver, Action`1, Action`1) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/Program.cs:34)
UnityEditor.Scripting.Serialization.Weaver:WeaveUnetFromEditor(String, String, String, String, Boolean)

Actual: Errors in console after upgrading project
Expected: No errors

Reproducible: 5.5.0p1, 5.6.0a6
Not reproducible: 5.4.3p3

Forum thread: https://forum.unity3d.com/threads/unable-to-compile-a-project.433859/

Comments (12)

  1. fdfdsgfdgdsg

    Jun 26, 2017 13:30

    This bug is still happening for 5.6.2f1. Although it mentions of some fix in the release notes

    "Windows Store: Fixed UNetWeaver crashing when using .NET 4.6 API Compatibility level with IL2CPP scripting backend when deriving from .NET 4.6 specific types. (909703) "

  2. youblistermypaint

    Jun 12, 2017 01:14

    This is still an issue for me. Not test tools installed.

  3. fdfdsgfdgdsg

    Apr 24, 2017 02:42

    Usually happens in external storage like USB Hardisks or when using NAS

  4. fdfdsgfdgdsg

    Apr 24, 2017 02:42

    Usually happens in external storage like USB Hardisks or when using NAS

  5. fdfdsgfdgdsg

    Apr 24, 2017 02:41

    Usually happens in external storage like USB Hardisks or when using NAS

  6. fdfdsgfdgdsg

    Apr 24, 2017 02:41

    This is still happening in Unity 5.6 even doing the above mentioned does not work.

  7. LVBen

    Mar 05, 2017 23:40

    RAACOSTA's solution worked for me too.

  8. arthuronoszko

    Jan 19, 2017 16:15

    RAACOSTA's solution worked for me as well, awesome!

  9. tenukii

    Jan 13, 2017 01:25

    RAACOSTA's solution worked for me. Thanks!

  10. kuangshengkai

    Jan 10, 2017 03:01

    Still reproduced at 5.5.0p3.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.