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

Bug Cannot create new project

Discussion in 'Editor & General Support' started by JRaDev, Jul 7, 2023.

  1. JRaDev

    JRaDev

    Joined:
    Jul 7, 2023
    Posts:
    8
    When i create a new project, it just don't loads, it gets stuck on the "Create from Template" part. How do i fix it?
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    What's the location you create this project in, and the name of the project?

    Try "My Documents" for the location and see if that works.
     
  3. JRaDev

    JRaDev

    Joined:
    Jul 7, 2023
    Posts:
    8
    Thank you! It worked!
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    In that case it must have been a permission issue. Windows doesn't want users to create documents outside the user's home directory. While you can create a new folder anywhere using Explorer the permissions may not be set correctly, especially if Windows asks for administrator privileges to do so.
     
  5. JRaDev

    JRaDev

    Joined:
    Jul 7, 2023
    Posts:
    8
    I'm on Linux mint
     
  6. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    Linux is even more restrictive in that regard. ;)
     
  7. JRaDev

    JRaDev

    Joined:
    Jul 7, 2023
    Posts:
    8
    Then i will try to run unity with root account. Thanks for the help!
     
  8. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    No! DON'T do that! :eek:

    The solution is not to grant Unity system-wide access to anything. Any script you download from anywhere could do ANYTHING on your system with full root access if you run Unity as root. Even an accident in one of your scripts would just execute and possibly delete or corrupt system files, rather than raising a "permission denied" exception.

    Instead, check and update the permissions of any folder you create so that the logged in user (or any "user privilege" account) has read, write and execute permissions on that folder and its descendants.
     
  9. JRaDev

    JRaDev

    Joined:
    Jul 7, 2023
    Posts:
    8
    I will check the folder where i save my documents to see if it has the any user permissons. Thanks for the help.