Search Unity

MEGA problem 2019.3.0f6 Library\PackageCache\com.unity.entities@0.0.12-preview.29\Unity.Entities\Def

Discussion in 'General Discussion' started by AbhimanyuAryan, Apr 6, 2020.

  1. AbhimanyuAryan

    AbhimanyuAryan

    Joined:
    Apr 22, 2015
    Posts:
    32
    I'm checking out MegaCity in 2019.3.0f6 and as soon as I open it...I get these error "Library\PackageCache\com.unity.entities@0.0.12-preview.29\Unity.Entities\DefaultWorld.cs(2,32): error CS0234: The type or namespace name 'PlayerLoop' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)"

    any idea how to fix them? I haven't used unity for quite some time (since 2017)...a lot has changed since then. Any help would be appreciated
     

    Attached Files:

  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,187
    Two ways. One, just like the text says a little ways above the download button, MegaCity was made with 2019.1.b7.

    upload_2020-4-6_12-52-43.png

    Two, you can open up each script with the problem and add/modify the namespace references to point to the new locations of the classes. PlayerLoop, for example, was moved into UnityEngine.LowLevel. Be aware that just fixing the namespaces may not guarantee anything will run properly since it's based on preview packages.
     
    Last edited: Apr 6, 2020
  3. AbhimanyuAryan

    AbhimanyuAryan

    Joined:
    Apr 22, 2015
    Posts:
    32
    so I'm downloading it with Unity hub 2019.1.0b7 can uncheck windows build support, documentation and all other optional things or something is dependency? @Ryiah
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,187
    All of those options are just build target related. None of them should be required for running directly in the editor.
     
  5. AbhimanyuAryan

    AbhimanyuAryan

    Joined:
    Apr 22, 2015
    Posts:
    32
    cool yes...worked
     
  6. AbhimanyuAryan

    AbhimanyuAryan

    Joined:
    Apr 22, 2015
    Posts:
    32
    well, that's not ideal. I think there is some shader problem. Any way to fix it? @Ryiah
     

    Attached Files:

    • pink.jpg
      pink.jpg
      File size:
      267.4 KB
      Views:
      386
  7. MHarisAmjad

    MHarisAmjad

    Joined:
    Jun 25, 2021
    Posts:
    3
    where is the button
     
  8. MHarisAmjad

    MHarisAmjad

    Joined:
    Jun 25, 2021
    Posts:
    3
    where is the button?
     
  9. sxa

    sxa

    Joined:
    Aug 8, 2014
    Posts:
    741
    Google 'unity megacity'. You'll find the button.