Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Feedback Latest Entities packages tend to break things

Discussion in 'Entity Component System' started by alexandre-fiset, Jul 31, 2020.

  1. alexandre-fiset

    alexandre-fiset

    Joined:
    Mar 19, 2012
    Posts:
    716
    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:
    679
    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.
     
    JesOb likes this.