Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feature Request PredictedFixedStepSimulationSystemGroup for processing input

Discussion in 'NetCode for ECS' started by optimise, Nov 22, 2023.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,106
    I would like official to add another system group called something like PredictedFixedStepProcessInputSystemGroup that works like PredictedFixedStepSimulationSystemGroup using for processing to apply input at fixed rate to avoid missing input when it's lower or unstable frame rate. The reason for this is currently there's no such system group that is not update inside PredictedFixedStepSimulationSystemGroup and before Physics System Group meaning I have gameplay systems that just only need to update at PredictedSimulationSystemGroup but I need a PredictedFixedStepProcessInputSystemGroup updating at fixed rate that works like PredictedFixedStepSimulationSystemGroup before gameplay systems.
    processing
     
    Last edited: Nov 27, 2023
  2. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,106
    @CMarastoni I think PredictedFixedStepProcessInputSystemGroup is must have system group that update after CopyCommandBufferToInputSystemGroup and before PredictedFixedStepSimulationSystemGroup. Currently at editor I always have missing input issue that server failed to detect and apply the input and maybe at server runtime build will also have similar missing input issue but I think so far dun have such issue issue yet at actual server runtime build. I guess maybe just figure out the solution to fix miss input at editor issue
     
    Last edited: Nov 27, 2023