Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by MilkX5 · Jan 15, 2014 at 08:50 PM · errorunity4

Error when opening Unity4

Hi. I've just installed Unity on my computer and I've been working on a project for 3 days. But now every time I run the game, it gives me an error: "Opening file //.../Desktop/Project Name/Temp/tempFile failed: The system cannot find the path specified.

Sometimes I can't even open Unity and it gives me the same error. I've tried pressing Try Again but it gives me the same problem. In the end, it just forces me to shut down Unity. Any help?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image sheffieldlad · Jan 15, 2014 at 09:27 PM 0
Share

Have you tried uninstalling and reinstalling unity?

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by MilkX5 · Jan 17, 2014 at 03:44 PM

The problem has stopped. I made a new project and imported the old data. If it happens again I'll comment on this post.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rgalaxy · Jan 17, 2014 at 03:48 PM 0
Share

i think the problem is that th epath of your file is wrong, maybe because u move the old data to another folder or u change the directory of your Project that's why it says "cannot find the path specified. "

avatar image MilkX5 · Feb 07, 2014 at 06:49 PM 0
Share

I encountered the problem again today. But this time I restarted my computer while Unity was still open. It was the force shutdown and now it won't open anything. I can't play the game and I can't make a new project. Any suggestions on how to fix this?

avatar image
0

Answer by TheWarper · Feb 27, 2014 at 09:36 PM

Is this your problem?

alt text

It seems that having the project folder shared via Dropbox and switching from mac to pc causes this problem which forces you to click "Try Again" many times before the project can be loaded.

One solution is to automate the "Try Again" click with C# pinvoke code.

(You'll have to terminate the process manually as the UI stops responding once the "Try Again" search has begun)

 using System;
 using System.Collections.Generic;
 using System.ComponentModel;
 using System.Data;
 using System.Drawing;
 using System.Linq;
 using System.Runtime.InteropServices;
 using System.Text;
 using System.Threading;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
 namespace WindowsFormsApplication1
 {
     public partial class Form1 : Form
     {
         [DllImport("user32.dll", CharSet = CharSet.Auto)]
         static extern IntPtr SendMessage(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam);
 
         public const int BM_CLICK = 0x00F5;
 
         [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
         static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);
 
         const UInt32 WM_CLOSE = 0x0010;
 
         public Form1()
         {
             InitializeComponent();
         }
 
         private void btnScan_Click(object sender, EventArgs e)
         {
             IntPtr ButtonHandle = new IntPtr(0);
 
             while (true) //keep closing until we don't find the button
             {
                 System.Diagnostics.Process[] processes = System.Diagnostics.Process.GetProcessesByName("Unity");
 
                 foreach (System.Diagnostics.Process p in processes) //should just be one process in this array
                 {
                     ButtonHandle = FindWindowEx(p.MainWindowHandle, IntPtr.Zero, null, "Try Again");
 
                     if (ButtonHandle != IntPtr.Zero)
                     {
                         SendMessage(ButtonHandle, BM_CLICK, IntPtr.Zero, IntPtr.Zero);
                     }
                 }
 
                 System.Threading.Thread.Sleep(100);//sleep for 1 second
             }
         }
     }
 }
 


unityopeningfilefailed.png (26.5 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by huntsfromshadow · Feb 27, 2014 at 10:31 PM

Given the file path it looks like your on Mac, but we've seen issues like this on Windows when Unity doesn't have right to permissions write files in the directory.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AmirGlickVRandMore · Jan 17 at 10:24 PM 0
Share

I have a similar problem on windows. How do you give unity the permissions it needs?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

NSIS Error for Unity 4.0.0 0 Answers

Error with scripts compiling Unity4. 5 Answers

BCE0005: Unknown identifier: 'spriteRenderer'. 2 Answers

script not working 2 Answers

Can't open Unity due to missing PackageManager 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges