Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Compilation of Issues with 0.50

Discussion in 'Entity Component System' started by tertle, Mar 17, 2022.

  1. joepl

    joepl

    Unity Technologies

    Joined:
    Jul 6, 2017
    Posts:
    85
    @optimise The main addition for 0.51 is support for Unity 2021 LTS. There is much in active development, but I believe the main purpose of that release is to enable 2021 development (new stuff coming later!).
     
    mikaelK, bb8_1 and optimise like this.
  2. ScottPeal

    ScottPeal

    Joined:
    Jan 14, 2013
    Posts:
    61
    Waiting on 0.51 release as 2021 LTS is out and would like like to start with it. Any guess on how much longer?
     
  3. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,574
    These question was answered multiple times in recent other threads. Please read them and do no hijack other threads like this one.
     
  4. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    365
    Hey Abbrew, did you manage to solve this ?
    I have almost the same problem after upgrading my code to 0.50
    All my IJobEntity create this warning which appears to crash the compiler without log some how and I don't know how to solve that :/

     
    lclemens likes this.
  5. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    365
    Ok found.
    It seems that forget to add EntityInQueryIndex attribute to your index parameter crashes code gen without telling you what's going on especially when error SGJE0003 look like a warning.
     
  6. thelebaron

    thelebaron

    Joined:
    Jun 2, 2013
    Posts:
    825
    ok, physics has an invalid dependency of entities 0.50.1-preview.1(but 0.50.1-preview.2 exists). minor but come on guys :)
     
  7. lclemens

    lclemens

    Joined:
    Feb 15, 2020
    Posts:
    714
    @Abbrew

    So I was trying to figure this out too. I think we can either just ignore that warning, or suppress it.

    The release notes for 1.0 say this:

    • Valid compilation errors can cause additional
      CS0282 warnings from source-generated partial types: There is no defined ordering between fields in multiple declarations of partial struct. These are typically suppressed with a diagnostic suppressor for generated types, but an issue with the Roslyn compiler can prevent these from being suppressed if other compilation errors occur. This can result in many of these warnings in the Unity console. These can also be suppressed by adding - nowarn:0282 to a Unity rsp file (see this link for details).
    The instructions for suppression are here: https://docs.unity3d.com/530/Documentation/Manual/PlatformDependentCompilation.html
     
    Oneiros90 and Abbrew like this.