x


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)

more ▼

asked Mar 03 '11 at 08:11 PM

Greg 11 gravatar image

Greg 11
1 2 2 4

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.

Mar 03 '11 at 08:48 PM Tylor

I had also temp folder issues (on a Mac), restarting Unity helped.

Mar 03 '11 at 08:57 PM efge

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

Dec 08 '11 at 06:53 PM Cawas
(comments are locked)
10|3000 characters needed characters left

5 answers: sort newest

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

more ▼

answered Apr 17 at 07:16 PM

jaised gravatar image

jaised
126 6 10 12

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Mar 03 '12 at 12:10 AM

UdevMike gravatar image

UdevMike
46 8 9 10

(comments are locked)
10|3000 characters needed characters left

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).

more ▼

answered Mar 03 '11 at 09:45 PM

_MGB_ gravatar image

_MGB_
678 4 7 16

(comments are locked)
10|3000 characters needed characters left

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,

more ▼

answered Mar 03 '11 at 09:33 PM

thpetsen gravatar image

thpetsen
61 4

(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Mar 03 '11 at 09:02 PM

DaveA gravatar image

DaveA
26.4k 151 171 256

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x121
x118

asked: Mar 03 '11 at 08:11 PM

Seen: 2002 times

Last Updated: Apr 17 at 07:16 PM