Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Official MegaCity Feedback & Discussion

Discussion in 'Entity Component System' started by smcclelland, Mar 19, 2019.

  1. PutridEx

    PutridEx

    Joined:
    Feb 3, 2021
    Posts:
    1,136
    RTX 2070 super, i5-10400, 16GB
     
    Deleted User likes this.
  2. Micz84

    Micz84

    Joined:
    Jul 21, 2012
    Posts:
    448
    I get many errors like that:
    Code (CSharp):
    1. Assets/Settings/Graphics/HDRPDefaultResources/DefaultSettingsVolumeProfile.asset'. File may be corrupted or was serialized with a newer version of Unity.
    2. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    For almost every HDRP asset. I am using Unity 2022.2.0.f1 installed using UnityHub link on github.
     
  3. DatCong

    DatCong

    Joined:
    Nov 5, 2020
    Posts:
    84
    mega city not avaiable for unity 2022
     
  4. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,683
  5. Micz84

    Micz84

    Joined:
    Jul 21, 2012
    Posts:
    448
    If someone encounters the same issue I have found the solution. Previously I was using zip download, when cloned I do not have this issue.
     
    pcg likes this.
  6. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,683
    Megacity never been properly downloadable as zip, because it's using GIT-LFS and zip download ignores that :)
     
    bb8_1 and Micz84 like this.
  7. liven999

    liven999

    Joined:
    Oct 7, 2015
    Posts:
    20
    Hi,

    I see last post is pretty old but I also see the MegaCity sample have upgraded to 2022 LTS, so I suppose this project is not abandoned or at least not deprecated.

    I installed the sample, followed the readme advices on the github page.
    It seems to work well but after about 10 minutes playing here is what usually happens:
    Some buildings don't load until the player is very very close
    (sometime the player can be trap inside the building when it loads).


    What I'm doing wrong?
    It is a current limitation of the sample?
    I saw the Megacity multiplayer sample have been released, have we to use it now instead of the single player sample? (To be honest I don't feel ready to manage multiplayer features for now).


    Note 1: The video was made with a player build (not in the Unity editor) with all default settings (I didn't modify the sample before building the player). The 2022.LTS.3.2f1 version is used.

    Note 2 : I tried the previous version of the sample (with the appropriate version of Unity) few weeks ago and had the same problem.

    Note 3 : No performance problem, the FPS never go under 60.

    Note 4 : I notice the vehicle little bit stuttering too (you can see it in the video). I don't think it is the same problem but it would be nice if I can fix it too.


    I'm aware this sample is not supposed to be ready for production but I would like if possible to use it to showcase vehicle and camera controllers I'm currently working on.

    Here is a little demo If you want to see what it looks like.
    It is in early state but I want to be sure the MegaCity can provide an appropriate working environment to showcase my controls before spending too much time on it.


    I hope I'll find some help here, tell me if I'm not at the right place to find answers about this.
     
  8. mlafrenaye

    mlafrenaye

    Joined:
    Jan 25, 2021
    Posts:
    4
    Hi !
    I am trying to test Megacity with the Unity game services, as it mentions in the GitHub.
    Unfortunately, there is not much information on how to properly create the linux build for the Game server hosting (must be linux since windows isn't supported at the time).

    I've added the tools to build for Linux via the Hub manager, and the toolchain is downloaded properly in the package manager.
    But I still get this error when trying to build my dedicated server build for Linux (it works properly for windows) :

    Code (CSharp):
    1. Building Library\Bee\artifacts\LinuxPlayerBuildProgram\2ltnt\linker-output\GameAssembly.so failed with output:
    2. ld.lld: error: cannot open C:/Users/M�lisaneLafrenaye/AppData/Local/unity3d/cache/sysroots/linux-x86/9.1.0-2.17-v0_608efc24a3b402ec57809211b16a6d32d519f891d4038e1fc8509fe300c395b2-1/usr/lib64/gcc/x86_64-glibc2.17-linux-gnu/9.1.0/../../../../lib64\\crti.o: Il n�y a pas de caract�re correspondant au caract�re Unicode dans la page de codes multi-octet cible.
    3.  
    4.  
    5.  
    6. ld.lld: error: cannot open C:/Users/M�lisaneLafrenaye/AppData/Local/unity3d/cache/sysroots/linux-x86/9.1.0-2.17-v0_608efc24a3b402ec57809211b16a6d32d519f891d4038e1fc8509fe300c395b2-1/usr/lib64/gcc/x86_64-glibc2.17-linux-gnu/9.1.0\\crtbeginS.o: Il n�y a pas de caract�re correspondant au caract�re Unicode dans la page de codes multi-octet cible.
    7.  
    8.  
    9.  
    10. ld.lld: error: unable to find library -ldl
    11. ld.lld: error: unable to find library -lpthread
    12. ld.lld: error: unable to find library -lstdc++
    13. ld.lld: error: unable to find library -lm
    14. ld.lld: error: unable to find library -lgcc_s
    15. ld.lld: error: unable to find library -lgcc
    16. ld.lld: error: unable to find library -lpthread
    17. ld.lld: error: unable to find library -lc
    18. ld.lld: error: unable to find library -lgcc_s
    19. ld.lld: error: unable to find library -lgcc
    20. ld.lld: error: cannot open C:/Users/M�lisaneLafrenaye/AppData/Local/unity3d/cache/sysroots/linux-x86/9.1.0-2.17-v0_608efc24a3b402ec57809211b16a6d32d519f891d4038e1fc8509fe300c395b2-1/usr/lib64/gcc/x86_64-glibc2.17-linux-gnu/9.1.0\\crtendS.o: Il n�y a pas de caract�re correspondant au caract�re Unicode dans la page de codes multi-octet cible.
    21.  
    22.  
    23.  
    24. ld.lld: error: cannot open C:/Users/M�lisaneLafrenaye/AppData/Local/unity3d/cache/sysroots/linux-x86/9.1.0-2.17-v0_608efc24a3b402ec57809211b16a6d32d519f891d4038e1fc8509fe300c395b2-1/usr/lib64/gcc/x86_64-glibc2.17-linux-gnu/9.1.0/../../../../lib64\\crtn.o: Il n�y a pas de caract�re correspondant au caract�re Unicode dans la page de codes multi-octet cible.
    25.  
    26.  
    27. clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    28.  
    29. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    Note that the mentionned files exists at the correct path. (crti.o, crtbeginS.o, crtendS.o, crtn.o)
    Am I missing something here ?