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

Resolved [pre.15] IRpcCommand not support double field

Discussion in 'NetCode for ECS' started by hxhloveunity, Jan 10, 2023.

  1. hxhloveunity

    hxhloveunity

    Joined:
    May 27, 2022
    Posts:
    32
    1. add code to your project
    Code (CSharp):
    1. public struct TestRpcCommand : IRpcCommand {
    2.     public double levelData;
    3. }
    2. A error in Console, Because GhostSnapshotValueDouble[Unquantized].cs do not have
    __COMMAND_READ__
    upload_2023-1-10_20-9-34.png
     
  2. jonathan-hertz

    jonathan-hertz

    Unity Technologies

    Joined:
    Jan 15, 2020
    Posts:
    11
    Hi, thanks for reporting this. We actually found this a bit ago, and have a fix coming. This also fixes the same issue for ICommandData and IInputCommandData.
     
    NikiWalker likes this.