Search Unity

ECS on ios

Discussion in 'Entity Component System' started by cttlvx, Oct 17, 2019.

  1. cttlvx

    cttlvx

    Joined:
    Mar 28, 2015
    Posts:
    5
    Hi there,

    I wanted to try out the new DOTS system, especially on ios. So i made a scene and, following the "AngryDOTS - ecs shooter" tutorial, i managed to create 8000 cubes.

    Problem : after building on ios, there are no cubes to be seen.

    i have Unity 2019.2.9f1, i downloaded the following packages : 'Entities' and 'Hybrid renderer'

    Thanks in advance,
    C.
     
  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,685
    In standalone build (not in editor) they exists? If not check your link.xml and fill it.
     
  3. cttlvx

    cttlvx

    Joined:
    Mar 28, 2015
    Posts:
    5
    I actually cannot build in Standalone, Burst compiler needs visual. I install it and try to build and i'll come back to you.
    What is this link.xml you are talking about tho ?
     
  4. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,685
  5. cttlvx

    cttlvx

    Joined:
    Mar 28, 2015
    Posts:
    5
    Hi,

    So i finally managed to build in standalone (windows 10) and I have my cubes !
    Do i still need to look at the link.xml file ? i have to admit i'm not sure to understand how it can help.

    Thanks for your reply
     
  6. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,685
    You on 2019.2 and linker prevent some code stripping, hybrid renderer can be stripped from result build, afaik it was fixed in 2019.3 and above.
     
  7. cttlvx

    cttlvx

    Joined:
    Mar 28, 2015
    Posts:
    5
    So i should download 2019.3 ?
     
  8. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,685
    Use linker. But first, check that hybrid renderer really stripped out from build. Also are you using some of SRP with SRP Batcher?
     
    Last edited: Oct 18, 2019
  9. cttlvx

    cttlvx

    Joined:
    Mar 28, 2015
    Posts:
    5
    I'm sorry but i didn't understand any of those words ?