Search Unity

Question How to edit Unity.Entities code without horrendous compiling time?

Discussion in 'Entity Component System' started by Zylkowski_a, Sep 30, 2020.

  1. Zylkowski_a

    Zylkowski_a

    Joined:
    Jul 27, 2019
    Posts:
    157
    I want to edit Unity ECS code sometimes, for example, to enable me to compile Components/Systems in runtime and use them. The thing is after moving the whole com.unity.entities folder from PackagesCache to Packages costs me a lot of time while compiling or after every single small change in the project. How can I still be able to edit Unity ECS source and don't compile it every time?
     
  2. DreamersINC

    DreamersINC

    Joined:
    Mar 4, 2015
    Posts:
    131
    Use assembly definitions
     
  3. Zylkowski_a

    Zylkowski_a

    Joined:
    Jul 27, 2019
    Posts:
    157
    Packages have assembly definitions on their own but it doesn't change anything
     
  4. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Are you changing the entities package every time (code gen or something?) Because if it's just sitting in your Package folder and not making changes it should be no different. We have the entities Package in package folder with no issues I'm aware of.