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 Greg 11 · Mar 03, 2011 at 08:11 PM · build-errorpc

PC Standalone does not run - URGENT

Sorry for the all caps urgent. We have a standalone PC application that runs fine in the IDE with no errors, compiles fine, but does not run. Here is a copy of the output_log.txt file. If there is any more information that would be helpful let me know. Please help, our project is due tomorrow!

============================================

Direct3D: Version: Direct3D 9.0c [nvd3dum.dll 8.17.12.6658] Renderer: NVIDIA GeForce GTX 580 Vendor: NVIDIA VRAM: 1536 MB Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 DF24=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0 desktop: 1920x1200 59Hz; virtual: 3200x1200 at 0,0 Initializing (RawInput).

Input initialized.

Non platform assembly: data-03006DB0 (this message is harmless) Non platform assembly: data-0306B088 (this message is harmless) Non platform assembly: data-07210180 (this message is harmless) Non platform assembly: data-07276FF0 (this message is harmless) Platform assembly: C:\Users\Public\Documents\Unity Projects\Project Unity\Project_Data\Managed\System.Xml.dll (this message is harmless) Platform assembly: C:\Users\Public\Documents\Unity Projects\Project Unity\Project_Data\Managed\Boo.Lang.dll (this message is harmless) Platform assembly: C:\Users\Public\Documents\Unity Projects\Project Unity\Project_Data\Managed\UnityScript.Lang.dll (this message is harmless) Platform assembly: C:\Users\Public\Documents\Unity Projects\Project Unity\Project_Data\Managed\System.dll (this message is harmless) Your 64 bit Windows installation is missing an imporant service pack patch. Please apply [url]http://support.microsoft.com/kb/976038[/url] to ensure stability.

(Filename: C:/BuildAgent/work/f724c1acfee760b6/PlatformDependent/Win/wow64.cpp Line: 42)

NullReferenceException: Object reference not set to an instance of an object at Main.Start () [0x00000] in :0

(Filename: Line: -1)

=====================================================

EDIT::::

Two more pieces of information I can share:

We tried to compile it again recently and here are some more errors we are getting:

===================================================

Error building Player: IOException: Failed to Copy File / Directory from 'Temp/StagingArea/Data' to 'C:/Users/Public/Documents/Unity Projects/Project Unity\Project_Data'. UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

====================================================

Exception: Error building Player: IOException: Failed to Copy File / Directory from 'Temp/StagingArea/Data' to 'C:/Users/Public/Documents/Unity Projects/Project Unity\Project_Data'. UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/f724c1acfee760b6/Editor/Mono/BuildPlayerWindow.cs:340) UnityEditor.BuildPlayerWindow.BuildPlayerAndRun () (at C:/BuildAgent/work/f724c1acfee760b6/Editor/Mono/BuildPlayerWindow.cs:262)

Comment
Add comment · Show 3
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 Tylor · Mar 03, 2011 at 08:48 PM 0
Share

Well I have not worked much with unity and compiling however it appears that its looking in the temp folder, which as you could guess is temporary. so that could be a problem. Again im not entirely sure.

avatar image efge · Mar 03, 2011 at 08:57 PM 0
Share

I had also temp folder issues (on a $$anonymous$$ac), restarting Unity helped.

avatar image cregox · Dec 08, 2011 at 06:53 PM 0
Share

Have you tried rebooting? In my case simply closing everything related to Unity and restarting it solved the "`Error building player`" I was getting.

7 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by thpetsen · Mar 03, 2011 at 09:33 PM

Run it in the mono-debugger, if you'r lucky the error persists and you can trace it, if not it might be a race-condition and need a bit more investigation. Cheers,

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
1

Answer by jaised · Apr 17, 2013 at 07:16 PM

Right-Clicking my batch (.bat) and "Run as Administrator" solved my problem just now.

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 DaveA · Mar 03, 2011 at 09:02 PM

That first one sounds like a bad bug. The other ones seem suspiciously like what I was seeing before I excluded those folders from my virus scanner.

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 _MGB_ · Mar 03, 2011 at 09:45 PM

Do you have any 'Application.isEditor' clauses in your code? It's caught me out before ;) The file copy problem was cured here by re-booting and/or restarting Unity (as efge said).

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 UdevMike · Mar 03, 2012 at 12:10 AM

I had this happen when another process/application was using the output file it was compiling to. So getting rid of that hurdle fixed it.

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
  • 1
  • 2
  • ›

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

6 People are following this question.

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

Related Questions

My app keeps Crashing 0 Answers

Unity PC (Windows) Build failing 2 Answers

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Can't Build PC Standalone due to multiple namespace script errors but playable in editor 1 Answer

How can I stop the variable values reverting to its default values after being built? 1 Answer


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