Projeny icon indicating copy to clipboard operation
Projeny copied to clipboard

Unable to switch to new project from within Unity

Open pajama opened this issue 8 years ago • 3 comments

Projony > Change Project > New > Enter name > Submit

Gives me this error -

PrjCommandException: Error occurred during 'Opening Unity': [WinError 2] The system cannot find the file specified

Projeny.Internal.PrjCommandHandler+<ProcessPrjCommand>d__3.MoveNext ()
Projeny.Internal.CoRoutine.Pump ()
Rethrow as CoRoutineException: Coroutine Object Trace: PmCreateNewProjectPopupHandler -> PrjCommandHandler
Projeny.Internal.CoRoutine.Pump ()
Projeny.Internal.AsyncProcessor.AdvanceFrameAll ()
Rethrow as AsyncOperationException: Error occurred during async operation
Projeny.Internal.AsyncProcessor.AdvanceFrameAll ()
Projeny.Internal.AsyncProcessor.Tick ()
Projeny.Internal.PmCompositionRoot.Update ()
Projeny.Internal.PmWindow.Update ()
UnityEngine.Debug:LogException(Exception)
Projeny.Internal.Log:ErrorException(Exception)
Projeny.Internal.PmWindow:OnErrorOccurred(Exception)
Projeny.Internal.PmWindow:Update()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

It seems to create the new project, but never opens it.

Thanks for your help!

pajama avatar Jun 30 '17 07:06 pajama

Is Projeny added to your system path? If you run prj in command prompt, does that do anything?

svermeulen avatar Jul 10 '17 15:07 svermeulen

@svermeulen I have the same error, I tried to use the command and it appeared all the specifications and ways of using prj. I'm using Unity 5.6.1f1.

If i try to switch platform this error appears:

Projeny: Operation aborted. Projeny encountered errors when running 'Changing platform to 'Android''. Details:

[WinError 2] System cannot find the file specified

UnityEngine.Debug:LogError(Object) Projeny.Internal.Log:Error(String, Object[]) Projeny.PrjHelper:DisplayPrjError(String, String) Projeny.PrjHelper:ChangePlatform(BuildTarget) Projeny.ProjenyEditorMenu:ChangePlatformAndroid()

rsdal avatar Jul 10 '17 23:07 rsdal

Also using 5.6.1, yes projeny is added to my path. I'm able to use prj to create new projects from the command line.

pajama avatar Jul 12 '17 22:07 pajama