Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    Dismiss Notice

Feedback Latest Entities packages tend to break things

Discussion in 'Data Oriented Technology Stack' started by alexandre-fiset, Jul 31, 2020.

  1. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    470
    I have been working with Entities since 0.0.12, and usually new updates meant both bug fixes and improvements. But more recently we began to struggle with the updates.
    • In Entities 0.9-0.10, we had a lot of problems with IComponentData classes as well as component objects in the EntityDebugger. To a point where too many errors were thrown at runtime, only in a build. Errors causing the game to not respond or to break entirely. Things like Transform or TMPro being stored in component data class caused a lot of problems, problems difficult to pinpoint and resolve.
    • In Entities 0.11, it is no longer supported to have ComponentSystemGroup with OnCreate methods without calling base.OnCreate. That's a first in Unity. Never did we have to call base.OnUpdate, base.OnStartRunning or anything like that, but now it is the case with ComponentSystemGroup.
    My point here is: Why add the possibility to use classes as IComponentData if even built-in components can't be stored in them safely? And why changing things so fundamental as to require base.OnCreate in all ComponentSystemGroup?

    Wouldn't it be best to stick to what works, or maybe to have a stable vs preview versions of the package? It is rather surprising that we never ran into such issues with earlier versions such as from 0.12 through 0.9. Upgrading was always a breeze and brought many improvements. But now it is becoming a real nightmare to upgrade.

    We of course love the direction of DOTS, just not these few hiccups.

    Cheers!
     
  2. brunocoimbra

    brunocoimbra

    Joined:
    Sep 2, 2015
    Posts:
    471
    There is no stable version of Entities package yet, this is why all versions are labeled with -preview so far. Breaking changes can and most likely will happen.
     
    Jes28 likes this.
unityunity