Search Unity

[BUG] Entities error in 2018.2

Discussion in 'Entity Component System' started by eizenhorn, Aug 6, 2018.

  1. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    Unity, this still exists bug! When it will be fixed? It works fine in 2018.2.0b11 but not in any stable versions.

    upload_2018-8-6_20-4-28.png
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,770
    Do you have entities installed correctly?
    It works for me, but I have b4 version rather b11
     
  3. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    Of course, I’m use ecs from beginning :) read my post again - it works in b11, but not works in stable “f” releases, in editor all works fine, only in VS, is known bug from first stable 2018.2.
     
    Last edited: Aug 7, 2018
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,770
    Oh sorry, my wrong. I must have had something different on my mind, when replaying. :oops:
    Oh well, then I have no idea o_O
     
  5. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    @MartinGram or any one from Unity can tell, this will be fixed? Because in Rider all works fine, only in VS and only in 2018.2 stable releases.
     
  6. simonm_unity

    simonm_unity

    Unity Technologies

    Joined:
    Mar 21, 2018
    Posts:
    13
    I'm looking into this but can't seem to repo it myself on 2018.2.0f2 or 2018.2.2f1.
    @eizenhorn what version of the IncrementalCompiler package and Visual Studio 2017 Tools for Unity are you running with?
     
    eizenhorn likes this.
  7. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    Great thanks for response. Unity 2018.2.1f1, VS 2017 15.5.7 with unity tools 3.5.0.3, Incremental Compiler not installed (because one of latest versions being broken and whole project drops with error on open Unity, but may be it fixed now). On Unity 2018.2.0b11 all works fine.
     
  8. vincentchu_atalonventures

    vincentchu_atalonventures

    Joined:
    May 4, 2018
    Posts:
    16
    I had experienced the same issue where I don't have the proper .Net 4.5 framework installed
     
  9. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    I'm working with Unity ECS from beginning and also in enterprise c# development (not related to Unity), of course I have installed .Net 4.5 framework (and all other) :).
    upload_2018-8-9_11-39-46.png
    Watch more attentively:
    May be problem in VS\UT versions....time to update :)
     
  10. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    Updating VS\UT not solved problem :(
    upload_2018-8-9_12-28-37.png
     
  11. simonm_unity

    simonm_unity

    Unity Technologies

    Joined:
    Mar 21, 2018
    Posts:
    13
    @eizenhorn you are running the same versions I have now so not sure what makes this not work for you.

    Could you try deleting your Library\IncrementalCompiler and Library\ScriptAssemblies folder before starting the editor?

    If that doesn't help could you try to create a new empty project, import the Entities package, set ".NET 4.x Equivalent" scripting runtime version and create a new script to see you get the same problem there?
     
  12. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    Yeah cleaning packages, library is firs that i done :) scripting runtime version of course .NET 4.x family. But i'm not deleted Library after updating to latest versions (previous post), I'm deleted Library and open project, now is busy (huge amount of assets, and is take time :) I'll tell you results.
     
  13. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,684
    Updating to latest VS + UT solved problem (with cleaning Library, Packages and all .csproj), but strange than it works fine in latest beta 2018.2.0b11, that mean backward compatibility is not provided here, anyway not it's working and we can migrate our production project to 2018.2.2f1 :)