x


Black screen after success build.

Today I build many times my proyect, exporting both to webplayer and to .exe and It worked perfectly.

Now, after adding some animations and particle systems, everytime I build my project no matter what platform, I just get a black screen.

Also tryed to enable Developer mode to my .exe but nothing changed. What could be the reason of this happening?

Oh yes, and changing the Time Scale to 1 doesn't work because it's already on 1.

Any help please? I have a deadline and I seriously don't know where else to look! Thanks!

Edit: The only additional info I was able to get, is the log from the .exe

Direct3D:
    Version:  Direct3D 9.0c [aticfx32.dll 8.17.10.1091]
    Renderer: ATI Radeon HD 4800 Series        
    Vendor:   ATI
    VRAM:     504 MB (via DXGI)
    Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 DF24=1 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=1
desktop: 1920x1080 59Hz; virtual: 1920x1080 at 0,0
<I> Initializing (RawInput).

<RI> Input initialized.

Non platform assembly: data-0355CDA8 (this message is harmless)
Non platform assembly: data-08710048 (this message is harmless)
Non platform assembly: data-08729250 (this message is harmless)
Non platform assembly: data-08737F88 (this message is harmless)
Platform assembly: C:\Users\Pitu\Desktop\Test_Data\Managed\UnityScript.Lang.dll (this message is harmless)
Platform assembly: C:\Users\Pitu\Desktop\Test_Data\Managed\Boo.Lang.dll (this message is harmless)
more ▼

asked Oct 04 '11 at 06:21 AM

kevinseligmann gravatar image

kevinseligmann
116 10 16 17

If you remove the said particles and animations, does it build properly again?

Oct 04 '11 at 07:20 AM asafsitner

After checking everything, the problem is the camera. I have only one camera in my scene and it's active. If I build the project the screen goes black, but if I add a second camera, the project builds fine and the active camera turns to be the second one.

One other thing, is that... is it possible that my character (with animations) is not being exported, so that the camera which parent is my character, doesnt exists?. I'm pretty sure it's that... but how is that my character is not being exported?

Oct 04 '11 at 07:41 AM kevinseligmann

Does the character exist in the scene hierarchy when you build?

If not, when and how is the character instantiated?

Oct 04 '11 at 09:03 AM asafsitner

Ahh. Well, you might want to convert that comment of yours to an answer and accept it, so it won't appear on the 'unanswered' list. :)

Oct 04 '11 at 06:12 PM asafsitner
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Yeah, the problem was that for some reason I forgot to uncheck "Editor only" on my Character container tag. That way it was not aprearing on the build, only when hitting play.

Thanks!

more ▼

answered Oct 04 '11 at 05:03 PM

kevinseligmann gravatar image

kevinseligmann
116 10 16 17

(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:

x801
x481
x63

asked: Oct 04 '11 at 06:21 AM

Seen: 1281 times

Last Updated: Apr 17 '12 at 08:58 PM