Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug Predicted spawn classification failing in Editor

Discussion in 'NetCode for ECS' started by ts_headfirst, Oct 3, 2023.

  1. ts_headfirst

    ts_headfirst

    Joined:
    Aug 1, 2023
    Posts:
    87
    I have spent an awful lot of hours trying to figure out why predicted spawns were not properly classified.
    It appears the sole reason is that this does not work consistently in the Editor, once compiled there are seemingly no issues.

    Attached is a project with a simple setup a spawner that shoots out spheres.
    Th sample will predict one sphere but also shoot a purely interpolated version to make it obvious where the client predicted sphere is in relation to the actual sphere on the server.

    When run in the editor with the Entities Hierarchy tab active, the prediction classification will fail most of the time, as can be seen in the console.
    The reason being that the list of predicted spawns is empty even though it clearly shouldn't be.

    If the Entities Hierarchy is deselected, classification completes successfully.
    The issue is clearer if the latency is set to something like 40ms.
     

    Attached Files:

  2. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    313
    Hey! Thanks for the detailed report and repro.
    Can you file this as a Unity bug report (via the Editor) and link that IN-XXXX here, please?
    Please make the title include both "Entities Hierarchy" and "Netcode". Thanks!
     
  3. ts_headfirst

    ts_headfirst

    Joined:
    Aug 1, 2023
    Posts:
    87
    Done, the id is IN-56679 :)
     
    Last edited: Oct 4, 2023
    NikiWalker likes this.
  4. ts_headfirst

    ts_headfirst

    Joined:
    Aug 1, 2023
    Posts:
    87
    @NikiWalker Despite the fact that I responded instantly (October 5th) to the questions asked by the support team, the case has now been closed with the reason that I didn't respond.

    It explicitly says
    Please reply to this email if you have any additional information that could help us solve the issue.

    That clearly doesn't work and if responding to the email sent out by the bug system doesn't actually work, coupled with the fact that the link to the case
    upload_2023-10-12_14-13-8.png
    produces the following.

    upload_2023-10-12_14-8-33.png

    How exactly am I supposed to communicate with the support?

    I have another pending bug report to which I have also replied, likely in vain. IN-57247 someone is awaiting my response there as well.
     
  5. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    313
    Ah, yeah that's a problem. I'll try to repro this myself with your project soon. Thanks again for the direct repro, it's incredibly helpful. It may take about a week. I'll also forward this workflow issue, as you're right that it doesn't make any sense. Apologies for this.
     
  6. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    313
    Oh wait: It actually looks like your October 5th reply was not saved into the system. What format did you reply in?
     
  7. ts_headfirst

    ts_headfirst

    Joined:
    Aug 1, 2023
    Posts:
    87
    Yeah that seems to be the issue, replies do not get into the system.
    I simply replied to the request (email) for a video that shows the problem. So email format.
    I have now attached the video here instead :)
     

    Attached Files:

  8. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    313
    Update: We're currently experiencing technical issues with the bug reporting tool.
    • IN-56679 has been re-opened.
    • Apologies, please re-submit both updates directly via the dashboard (not via email), one per bug.
    • When doing so, I've been asked that you include the relevant incident ID (ID-XXXXX) again into your reply.
     
  9. ts_headfirst

    ts_headfirst

    Joined:
    Aug 1, 2023
    Posts:
    87
    First, thanks for the update.
    However, which dashboard are you referring to, the Atlassian one to which there is a link in the email?
    Because as stated in an earlier post above, that unfortunately, does not work, I simply get an access denied page.

    I have also checked the Unity Gaming Services dashboard, but that does not seem to have any connection to this.
     
    Last edited: Oct 16, 2023
  10. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    313
    Yes.
    Yes I saw this. Is this still true now that we've re-opened the case? Is the other case (IN-57247) visible to you?

    We're also unable to find any email response from you. Would you mind resending that, too, please?
     
  11. ts_headfirst

    ts_headfirst

    Joined:
    Aug 1, 2023
    Posts:
    87
    Yeah it's the same thing I'm afraid.

    This is what happens upon clicking the link:
    1. I am prompted to enter my email
    2. The first time this proceeds to an account creation flow.
    3. Once the account is created, I arrive at the 'No Access' page.
    4. Same thing on subsequent logins.

    So if the link is supposed to simply grant access, as is suggested by the
    Please do not share this URL with anyone else because the information you’ve submitted is accessible by anyone with this link
    Then that is not the case.
     
  12. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    313
    Thanks for the clarifications, and apologies again. I'll reply here once we have some unblocked next steps.
     
  13. NikiWalker

    NikiWalker

    Unity Technologies

    Joined:
    May 18, 2021
    Posts:
    313
    Would you mind retrying your existing URLs? We're able to find you (as a user) via the email address you used, and we've manually added said email address to our customers list.
     
  14. ts_headfirst

    ts_headfirst

    Joined:
    Aug 1, 2023
    Posts:
    87
    Thanks, that worked :) I have now updated both bugs.
     
    NikiWalker likes this.