Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Package error's after updating unity editor

Discussion in 'Package Manager' started by unity_84DFA275A8356FBA8C99, Aug 30, 2023.

  1. unity_84DFA275A8356FBA8C99

    unity_84DFA275A8356FBA8C99

    Joined:
    Jun 6, 2022
    Posts:
    7
    I tried to update my editor to version 2022.3.8f1 in order to use the new netcode for entities package for my multiplayer game but after updating I received the following errors in the editor:

    • Library\PackageCache\com.unity.transport@1.3.4\Runtime\IPCManager.cs(79,44): error CS1955: Non-invocable member 'NativeHashMap<ushort, int>.Count' cannot be used like a method.
    • Library\PackageCache\com.unity.transport@1.3.4\Runtime\IPCManager.cs(88,40): error CS1955: Non-invocable member 'NativeHashMap<ushort, int>.Count' cannot be used like a method.
    • Library\PackageCache\com.unity.transport@1.3.4\Runtime\IPCManager.cs(107,47): error CS1955: Non-invocable member 'NativeHashMap<ushort, int>.Count' cannot be used like a method.
    • Assembly 'Library/ScriptAssemblies/Unity.Multiplayer.Tools.NetStats.CodeGen.dll' will not be loaded due to errors:
      Unable to resolve reference 'Unity.Multiplayer.Tools.NetStats'. Is the assembly missing or incompatible with the current platform?
      Reference validation can be disabled in the Plugin Inspector.

    • Assembly 'Library/ScriptAssemblies/Unity.Collections.CodeGen.dll' will not be loaded due to errors:
      Unable to resolve reference 'Unity.Collections'. Is the assembly missing or incompatible with the current platform?
      Reference validation can be disabled in the Plugin Inspector.
    • Assembly 'Library/ScriptAssemblies/Unity.Entities.CodeGen.dll' will not be loaded due to errors:
      Unable to resolve reference 'Unity.Entities'. Is the assembly missing or incompatible with the current platform?
      Reference validation can be disabled in the Plugin Inspector.
      Unable to resolve reference 'Unity.Burst'. Is the assembly missing or incompatible with the current platform?
      Reference validation can be disabled in the Plugin Inspector.
    I tried reinstalling the mentioned packages but had no success if anyone knows what I could do it would be very appreciated thanks
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,362
    Tried deleting the library folder so Unity can fully rebuild the cache?
     
  3. unity_84DFA275A8356FBA8C99

    unity_84DFA275A8356FBA8C99

    Joined:
    Jun 6, 2022
    Posts:
    7
    Just tried it still getting the same errors but thank you
     
  4. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    569
  5. unity_84DFA275A8356FBA8C99

    unity_84DFA275A8356FBA8C99

    Joined:
    Jun 6, 2022
    Posts:
    7
    Thank you so much! I went through the report and found that manually updating unity.transport to version 2.0.2 got rid of all the errors
     
    dinonc12 and tsibiski like this.