Search Unity

Resolved NetCode problem in official tutorial.

Discussion in 'NetCode for ECS' started by illinar, Sep 20, 2020.

  1. illinar

    illinar

    Joined:
    Apr 6, 2011
    Posts:
    863
    EDIT: My package was of 0.4 version. I downgraded to 0.3 (the version in the tutorial), and that error went away.

    Trying to follow the "getting started" tutorial in the docs: https://docs.unity3d.com/Packages/com.unity.netcode@0.3/manual/getting-started.html

    Getting these compiler errors:
    Assets\MultiplayerTest\Code\PlayerCubeInputSystem.cs(47,27): error CS0308: The non-generic type 'ICommandData' cannot be used with type arguments

    Is generic version of ICommandData located somewhere that I didn't import? Everything up to this point worked so far.
     
    Last edited: Sep 20, 2020
  2. Enzi

    Enzi

    Joined:
    Jan 28, 2013
    Posts:
    962