Search Unity

  1. Curious about what's going to be in 2020.1? Have a look at the 2020.1 beta blog post.
    Dismiss Notice
  2. Want to see 2020.1b in action? Sign up for our Beta 2020.1 Overview Webinar on April 20th for a live presentation from our evangelists and a Q&A session with guests from R&D.
    Dismiss Notice
  3. Interested in giving us feedback? Join our online research interviews on a broad range of topics and share your insights with us.
    Dismiss Notice
  4. New Unity Live Help updates. Check them out here!

    Dismiss Notice

[SOLVED?] IL2CPP taking 20x time on 2020.1 alphas with DOTS packages

Discussion in 'Data Oriented Technology Stack' started by rz_0lento, Feb 13, 2020.

  1. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    1,423
    I don't know if this is a known issue but IL2CPP builds with Unity Physics and Unity Mathematics stall the DOTS builds totally on 2020.1 alphas for me (tested using a22 + a23 and Burst 1.2.1, 1.3.0-preview.2 and 1.3.0-preview.3). Especially Unity Mathematics stays behind rest of the compilation for ages and it's only utilizing one hw thread / one c++ compiler as well (so 5% load of the CPU while waiting for it to finish for last 15 minutes).

    My basic test scene only has simple level that has one plane that's converted to ECS using Convert to Entity.
    Same setup took IL2CPP 1 minute and 10 seconds to build on first run when trying this same scenario on 2019.3.1f1 and Burst 1.3.0-preview.2. On 2020.1 it takes about 20 minutes total on my 12-core Ryzen.

    I used VS2019 v16.4 and c++ toolchain v14.24 on both 2019.3 and 2020.1.

    I did notice 2020.1 changelogs had
    which could be related to this issue.
     
    Last edited: Feb 14, 2020
  2. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    1,423
    Sent issue report along with repro project, case #1219572.
     
    JoshPeterson and Jes28 like this.
  3. Davood_Kharmanzar

    Davood_Kharmanzar

    Joined:
    Sep 20, 2017
    Posts:
    349
    yup ...
    i'm facing this issue on 2020.1.0a22 :]
    seems that VC compiler takes 8% of my CPU to process !?
     
  4. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    1,423
    I don't know what did fix this but I don't get this anymore on a24 with latest dots packages.
     
unityunity