Search Unity

Not Work [UpdateInGroup(typeof(ClientSimulationSystemGroup))]

Discussion in 'FPS.Sample Game' started by NovaEiz, Dec 23, 2019.

  1. NovaEiz

    NovaEiz

    Joined:
    Sep 6, 2017
    Posts:
    53
    Hi!
    For some reason, OnUpdate is not called in CubeInputSystem


    Code (CSharp):
    1.  
    2. [UpdateInGroup(typeof(ClientSimulationSystemGroup))]
    3. public class CubeInputSystem : ComponentSystem {

    I did everything as described here - https://docs.unity3d.com/Packages/com.unity.netcode@0.0/manual/getting-started.html

    But I have installed sample projects from here https://github.com/Unity-Technologies/multiplayer, and everything works there, although there is a little different code.
    Also in the example project, I've updated the Entities, Jobs, Collections packages to the latest versions, and everything works.

    I need to create a working same project from scratch.

    Tell me, please, what's the matter?
     
  2. AggressiveMastery

    AggressiveMastery

    Joined:
    Nov 19, 2018
    Posts:
    206
    I am not sure what exactly the error is, but be sure you are on the correct UNITY EDITOR version, which is an outdated one.

    On (2/28/2019) FPS Sample Version 3.0 was released on git-hub:
    https://github.com/Unity-Technologies/FPSSample

    The new 3.0 FPS sample requires Unity 2018.3.0f2 which you can search for here:
    https://unity3d.com/get-unity/download/archive


    If you had the older version of the FPS sample, that used an older editor as well:
    FPS Sample 2.0 required specifically Unity 2018.3.0 B12 https://unity3d.com/unity/beta/2018.3.0b12

    Given the correct editor, I've compiled the sample downloaded from 2/28/2019 without issue, and connected multiple clients to it. The tags on git are all 9mo +

    This sample is also finished, we will not received any additional updates from unity.

    The new project is the DOTS version of this project, linked here:
    https://github.com/Unity-Technologies/DOTSSample

    With this being the post from the CTO:
    https://forum.unity.com/threads/dots-sample.796308/

    Good luck out there