Search Unity

DOTS-StreamedInstancingSample Performance issues

Discussion in 'Data Oriented Technology Stack' started by daschatten, Aug 21, 2019.

  1. daschatten

    daschatten

    Joined:
    Jul 16, 2015
    Posts:
    147
    DOTS-StreamedInstancingSample (https://github.com/Unity-Technologies/DOTS-StreamedInstancingSample) starts with ~5 fps and goes below 1fps after 2 seconds. I tried it some time before and if i remember correctly the framerate was really good. Though i can't remember which Unity version i used...

    I tried with:
    * Packages referenced in repo (older versions)
    * Updated packages (entities, physics + fixed code)
    * Unity 2019.1.8, 2019.1.12

    Profiler shows that most time is spent on Semaphore.WaitForSignal in ParentSystem.NewParents

    Any idea?
     
    florianhanke likes this.
  2. daschatten

    daschatten

    Joined:
    Jul 16, 2015
    Posts:
    147
    LoL, wondered half a day where the problem is, opened a thread, found issue shortly after: Burst was not enabled.

    Thanks for watching :)
     
  3. pal_trefall

    pal_trefall

    Joined:
    Feb 5, 2019
    Posts:
    25
    Thanks for digging up this repo though, I had missed it. Interesting stuff!