Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Job TempAlloc Leak on a fresh unity Instance with NetCode Package

Discussion in 'NetCode for ECS' started by Extrys, Jun 21, 2020.

  1. Extrys

    Extrys

    Joined:
    Oct 25, 2017
    Posts:
    345
    I been following the NetCode Manual and it worked
    but when i created a build i it crashed every time at the begining
    so i noticed a lot of warnings spamming in editor
    i though it was my fault but after a wile, i decided to reate a new project to se if it was a bug from the package

    i created a new project in Unity 2019.4.0f1
    and just installed the NetCode v0.2.0 preview 5 package

    once installed i just hit play
    and it starts spaming allocation warnings

    upload_2020-6-21_14-9-4.png
    I just installed the NetCodePackage, Anything more.

    and when i hit play, it shows a lot of warnings.
     
    Last edited: Jun 21, 2020
  2. Extrys

    Extrys

    Joined:
    Oct 25, 2017
    Posts:
    345
    It also Crash on builds
     
  3. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,775
    I haven't used netcode package if ages but from memory this is currently a limitation on high fps that will hopefully be solved eventually. You can put a cap on your fps for now.
     
    shmafoo and Extrys like this.
  4. Extrys

    Extrys

    Joined:
    Oct 25, 2017
    Posts:
    345
    that could be a solution, How can i do that, never did it before?
     
  5. Extrys

    Extrys

    Joined:
    Oct 25, 2017
    Posts:
    345
    ok i found how to do that with Application.targetFrameRate
    It doesnt warns out anymore!!
    Thanks a lot!