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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug Multiple Unity instances cannot open the same project.

Discussion in 'Linux' started by MJ-meo-dmt, Dec 3, 2015.

  1. MJ-meo-dmt

    MJ-meo-dmt

    Joined:
    Feb 18, 2015
    Posts:
    12
    So this is a first for me, while I was playing in the prototype game / project, the Unity3D editor randomly crashed, which I'm used to. This time though its hung up on this stupid UnityLockfile...

    I went to the project folder and got rid of the UnityLockfile, as stated by the msg.

    I have looked in side all folders that has anything todo with Unity and the project, both normal and hidden. Removing that UnityLockfile did nothing.
     
  2. Tak

    Tak

    Unity Technologies

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    Usually there are zombie instances of UnityShaderCompiler or JobProcess lingering when this happens.
    We're working on making this more robust.
     
  3. LukaKotar

    LukaKotar

    Joined:
    Sep 25, 2011
    Posts:
    394
    Delete the "Temp" folder and your project will open fine.
     
    oykz, maisonhai3, correia55 and 2 others like this.
  4. MJ-meo-dmt

    MJ-meo-dmt

    Joined:
    Feb 18, 2015
    Posts:
    12
    Hi,

    @Tak: Actually there were no instances of any thing related to Unity3D. That was the first thing I checked as I once saw that even though I closed Unity3D the process stayed active... (In another post I added that sometimes those process "UnityShaderCompiler" + something else; don't end when you close Unity3D.)

    It basically came down to what LukaKotar mentioned, I simply opened the MyProject Root folder as root and got rid of the UnityLockfile first, and then later I just deleted the /Temp directory which then solved the issue. So with or without the UnityLockfile it doesn't really matter :p

    Anycase still having fun, frustrating every now and then I have to be honest, but yeah I'll keep at it :D

    #Side note: I have both my desktop and laptop setup exactly the same, os, username the lot... And the strange thing is that on my laptop I could create a "playerData.dat" just fine via that Application.persistentdatapath + "/playerData.dat" but on the desktop it gave me a access error... Maybe its me or the system or something else, thought I'd just mention it, maybe someone got something similar... Anycase not a major issue i'll props figure something out. Note this is via testing/running through the editor only... havent tried a build version yet.

    ## EDIT: The side note was a mistake, I realized that on my laptop I named the projectfolder lowercase, and on the desktop I named it ProjectFolder. So the path could not be found, as the whole project started on my laptop... anycase scratch that...
     
    Last edited: Dec 4, 2015
  5. molika

    molika

    Joined:
    Mar 4, 2016
    Posts:
    2
    i have two project,how to choose
     
  6. molika

    molika

    Joined:
    Mar 4, 2016
    Posts:
    2
    if not setup javaJDK and SDK,is building work?
     
  7. aleksapapo

    aleksapapo

    Joined:
    Jun 23, 2016
    Posts:
    1
    I solved this problem.First you must uninstall all Unity editor from PC.Second update Micosoft Visual Studio 2015 and activate key.And important and the problem when you install Unity you must install Unity on disc C or on disc D.YOU MUST HAVE THE FREE DISC SPACE WHERE YOU WANT TO INSTALL .
     
  8. e42Mono

    e42Mono

    Joined:
    May 30, 2016
    Posts:
    3
    Thanks for the tip. When I faced the problem I always had to logout and back in. It was frustrating.