Search Unity

Cannot load level : Level_01, or any level in general

Discussion in 'FPS.Sample Game' started by Antfroze, Oct 27, 2018.

  1. Antfroze

    Antfroze

    Joined:
    Jul 21, 2017
    Posts:
    3
    its weird cant do anything outside of the editor
     
    TheCaptainJuneBug likes this.
  2. TheCaptainJuneBug

    TheCaptainJuneBug

    Joined:
    Sep 29, 2013
    Posts:
    9
    yeah, me either.

    What does your project tool show?

    upload_2018-10-26_22-16-9.png
     
    Zioshi likes this.
  3. Antfroze

    Antfroze

    Joined:
    Jul 21, 2017
    Posts:
    3
    xd yours has like nothing for some reason
     

    Attached Files:

  4. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,659
    Did you catch this part of the instructions?

     
  5. Antfroze

    Antfroze

    Joined:
    Jul 21, 2017
    Posts:
    3
    mine has everything just cant open levels once i start it
     
  6. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,659
    Did you also build all the bundles?

     
    TheCaptainJuneBug and drhodor like this.
  7. petera_unity

    petera_unity

    Unity Technologies

    Joined:
    May 23, 2016
    Posts:
    41
    This is not right. The tool should have buttons for each level like you can see in the screenshot in the README file. You should try first closing the Project Tools window and then reopening it from the "FPS Sample > Windows > Project Tools" menu. This may get you the right list of levels.

    Then make sure you build all bundles as @superpig suggests below.

    -peter
     
  8. Zioshi

    Zioshi

    Joined:
    May 30, 2018
    Posts:
    2
    I have the exact same issue and nothing works ):
     
  9. Zioshi

    Zioshi

    Joined:
    May 30, 2018
    Posts:
    2



    Same problem ):
     
  10. Tinus

    Tinus

    Joined:
    Apr 6, 2009
    Posts:
    437
    Edit: Turns out I made a silly mistake and the contents from large file storage ended up somewhere outside of the project folder. Put them in the right place, followed the instructions once more, and now the Project Tools window looks fine.

    Plenty of juicy code to learn from in this project, good fun!
     
    Last edited: Oct 30, 2018
  11. petera_unity

    petera_unity

    Unity Technologies

    Joined:
    May 23, 2016
    Posts:
    41
    In case of broken Project Tools window (i.e. no levels showing), try first the close and open I suggested above. If that does not work, try and locate in the assets of type `LevelInfo` . It should look about like this: upload_2018-10-29_23-53-17.png
     
  12. Kolyasisan

    Kolyasisan

    Joined:
    Feb 2, 2015
    Posts:
    397
    Also have some issues. No matter the unity version, settings and the amounts of cloning the project will never go ingame, not in the build nor in the editor. It'll just show the ingame console with a bunch of errors. Don't think I missed any of the instructions though, I've been following them precisely.
     
  13. RKeown3D

    RKeown3D

    Joined:
    Oct 14, 2014
    Posts:
    188
    Did you guys by any chance select a different build target? That's how i was able to recreate the missing levels issue. How do we re-add them?
     
  14. petera_unity

    petera_unity

    Unity Technologies

    Joined:
    May 23, 2016
    Posts:
    41
    Could you pass us a screenshot of the errors you see in the console?

    peter
     
  15. kilik128

    kilik128

    Joined:
    Jul 15, 2013
    Posts:
    909
  16. AggressiveMastery

    AggressiveMastery

    Joined:
    Nov 19, 2018
    Posts:
    206
    Looks like you are running it in preview and building a dev build. Have you tried un-checking thoes options and doing a full build?

    I did a little vid of adding a new level to the FPS sample, and getting into the in-game menu to select, and launching it.
     
  17. mckmc

    mckmc

    Joined:
    Feb 11, 2019
    Posts:
    2
    the same here, no levels): did all the instructions precisely... I'm on Mac btw, but did switched to win64 build
     
  18. Mrb83

    Mrb83

    Joined:
    May 12, 2013
    Posts:
    8
    I think this is definitely a bug of some sort. 4 or 5 times I've had the same problem where the Project Tools window becomes empty. There were no errors or warnings in the console.

    My git repository had no local commits or changes in my working copy. However, when I forcefully removed all non-repository files (including files in .gitignore) with:
    git clean -f -d -X
    and restarted Unity, the Project Tools window began to work again. So files that are both generated and .gitignored relate to the problem somehow.

    If/when it happens again I will try to debug deeper.
     
  19. mckmc

    mckmc

    Joined:
    Feb 11, 2019
    Posts:
    2
    will you please explain it a bit... I'm not very friendly with terminal): I downloaded the whole pack with the app, not with terminal... I have to switch to folder with the pack with ' cd ' command and then run ' git clean -f -d -X ' ?
     
  20. Mrb83

    Mrb83

    Joined:
    May 12, 2013
    Posts:
    8
    Which app?

    For example, I use Sourcetree as my git client. So from source tree you can select the "Terminal" option from the toolbar which will give you a terminal in the FPSSample working copy, and then you can type that command in there.

    But outside of that you can delete the following folders in the root of the FPSSample folder:

    AutoBuild/
    Library/
    obj/

    Before I was using the git command I was just removing these folders and it fixed the problem. HTH