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

collection.17 upgrade broken

Discussion in 'Entity Component System' started by eggsamurai, May 23, 2021.

  1. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    99
    After upgrade to collection.17 entities package broken ..
    I mentioned that public struct Words was [Obsolete],
    but entities package can't find it any way...
     
    Last edited: May 24, 2021
  2. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,695
    What version of editor?
     
  3. TRS6123

    TRS6123

    Joined:
    May 16, 2015
    Posts:
    246
    I have personally experienced this issue in 2020.3.8f1 and 2020.3.9f1
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,580
    You meant words or worlds?
     
  5. unity-freestyle

    unity-freestyle

    Joined:
    Aug 26, 2015
    Posts:
    45
    Also got this error. I guess Entities pkg is just not ready to work with this Collections update.

     
  6. Krajca

    Krajca

    Joined:
    May 6, 2014
    Posts:
    347
    Remove library folder, it should help. Warning: it will reimport your project.
     
  7. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    99
    That's terrible for our 1TB project...I tried remove assembly caches and package caches but it dose not work.
     
  8. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,580
    No it is not. It may actually help, as there may be some corrupted files after packages update
    Basically after clearing library folder, Unity forces to load all library again a fresh.
     
  9. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    99
    P
    OMG, I tested with blank project and I'm failed... I'm going to submit a bug report
     
  10. Enzi

    Enzi

    Joined:
    Jan 28, 2013
    Posts:
    909
    On Discord some are speculating it's for the new entities release.
    Why not just downgrade for the time being? It's clearly not worth the hassle.
     
  11. emrodk

    emrodk

    Joined:
    Feb 12, 2021
    Posts:
    4
    Downgrade solved the problem for me
     
  12. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    What to do if the downgrade is broken as well? Tried already to delete manifest.json and object and library and started to re-add packages one by one them but it still does trigger this bug oO. Where does unity even take the version from if the manifest.json and package-lock.json are deleted?

    After every downgrade click it does pretend to do some work, but nothing changes.

    Edit: Fixed. I had to repeat it, there are just not many combination of Dots packages that are compatible and that simply made it a boring tedious task to start at a very old version and trying out all combinations until there was one error less and to repeat the cycle. Not making the packages visible in the package manager made this a particular fun...
     
    Last edited: May 29, 2021
  13. eggsamurai

    eggsamurai

    Joined:
    Oct 10, 2015
    Posts:
    99
    I think we should take this as reference:
    Unity - DOTS Releases - Latest Release: DOTS 0.17 - Unity Forum
     
    MNNoxMortem likes this.
  14. mailfromthewilds

    mailfromthewilds

    Joined:
    Jan 31, 2020
    Posts:
    215
    you could just ask me. collections 0.17 is broken but 0.15 is fine
     
    MNNoxMortem likes this.
  15. beevik_

    beevik_

    Joined:
    Sep 27, 2020
    Posts:
    87
    Any update on this? The most recent release of the com.unity.collections package (0.17.0-preview.16) is incompatible with the latest version of the com.unity.entities package (0.17.0-preview.21).

    As others have mentioned, using these packages together results in the following error message when compiling com.unity.entities:

    Library\PackageCache\com.unity.entities@0.17.0-preview.42\Unity.Scenes\ResolveSceneReferenceSystem.cs(34,16): error CS0246: The type or namespace name 'Words' could not be found (are you missing a using directive or an assembly reference?)​

    For now, this can be avoided by sticking to an older com.unity.collections package (version 0.15.0-preview.21), but it seems odd that this incompatibility is still unresolved over a week after release. Anyone attempting to use the latest versions of the DOTS packages is going to run into this.
     
  16. Kirkules_

    Kirkules_

    Joined:
    Aug 5, 2014
    Posts:
    65
    using 2020.3.11f1 (LTS)
    I'm seeing this error with Collections Version 0.17.0-preview.18 and Entities Version 0.17.0-preview.42

    Library/PackageCache/com.unity.entities@0.17.0-preview.42/Unity.Scenes/ResolveSceneReferenceSystem.cs(34,16): error CS0246: The type or namespace name 'Words' could not be found (are you missing a using directive or an assembly reference?)