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
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/
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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) "
youblistermypaint
Jun 12, 2017 01:14
This is still an issue for me. Not test tools installed.
fdfdsgfdgdsg
Apr 24, 2017 02:42
Usually happens in external storage like USB Hardisks or when using NAS
fdfdsgfdgdsg
Apr 24, 2017 02:42
Usually happens in external storage like USB Hardisks or when using NAS
fdfdsgfdgdsg
Apr 24, 2017 02:41
Usually happens in external storage like USB Hardisks or when using NAS
fdfdsgfdgdsg
Apr 24, 2017 02:41
This is still happening in Unity 5.6 even doing the above mentioned does not work.
LVBen
Mar 05, 2017 23:40
RAACOSTA's solution worked for me too.
arthuronoszko
Jan 19, 2017 16:15
RAACOSTA's solution worked for me as well, awesome!
tenukii
Jan 13, 2017 01:25
RAACOSTA's solution worked for me. Thanks!
kuangshengkai
Jan 10, 2017 03:01
Still reproduced at 5.5.0p3.