Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by kunal2619 · Aug 19, 2016 at 09:38 AM · unity 5networkingnetwork

UNetWeaver error in all projects, Unity 5.4.0f3?

Hi,

I am getting the following errors in all my Unity projects after updating to Unity 5.4.0f3. The error does not let me play any of the scenes. These errors are not there on making a new project but re appear as soon as I create a first C# script.

 UNetWeaver error: ResolveMethod failed NetworkBehaviour::SendTargetRPCInternal UnityEngine.Networking.NetworkBehaviour
 UnityEngine.Debug:LogError(Object)
 Unity.UNetWeaver.Log:Error(String) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/Program.cs:20)
 Unity.UNetWeaver.Weaver:ResolveMethod(TypeReference, String) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/UNetWeaver.cs:1088)
 Unity.UNetWeaver.Weaver:SetupTargetTypes() (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/UNetWeaver.cs:1352)
 Unity.UNetWeaver.Weaver:Weave(String, IEnumerable`1, IAssemblyResolver, String, String, String) (at /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/UNetWeaver.cs:1652)
 Unity.UNetWeaver.Weaver:WeaveAssemblies(IEnumerable`1, IEnumerable`1, IAssemblyResolver, /Users/builduser/buildslave/unity/build/Extensions/Networking/Weaver/UNetWeaver.cs:1763)
 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)

and more 100s of these and in the end

 Failure generating network code.
 UnityEditor.Scripting.Serialization.Weaver:WeaveUnetFromEditor(String, String, String, String, Boolean)

I am not using any kind of networking. How do I get rid of these errors?

Thanks in advance.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kristian_rother · Aug 24, 2016 at 06:37 PM 0
Share

I have the same problem. Fresh install of Unity 5.4.0f3 (Plus) on OSX El Capitan with XCode 7.3.1 in case that matters.

All I did was follow the RollingBall Tutorial so no other Plugins or anything loaded.

avatar image Fragmental · Oct 24, 2016 at 04:30 AM 0
Share

I seem to be having the same error on OSX 10.9.5

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Fragmental · Oct 26, 2016 at 10:32 PM

This started happening to me after I installed Unity 5.4.1 using a pkg file(because unity download assistant wasn't working) over a unity 5.3.x installation in OSX 10.9.5.

You could try removing your Unity folder in the Applications folder, reinstalling Unity, and then emptying your trash can. If that doesn't work, try rebooting. If you still receive the error, then I'm out of ideas, because I honestly don't know what caused it or what solved it, for me, I only know what I tried.

Try testing using an empty project that only contains a single script file, just to rule out other possible issues.

One note: After deleting the Unity folder, I reinstalled using Unity Download Assistant for Unity 5.4.2(because Unity Download Assistant magically started working again after months of it not working, and 5.4.2 was the latest).

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Photon Networking - Synchronization problem 1 Answer

Unet Instantiate 0 Answers

Unet NetworkServer.Spawn() not working 5 Answers

Server asynchronous loading of resources, the client how to synchronize? 0 Answers

Unity Multiplayer Android Game 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges