Black screen

Slate Forums Support Black screen

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #558
    stephanep76
    Participant

    Hello everybody,

    i have a menu scene with a cutscene that moves the camera around. This cutscene is automatically played when loaded by the PlayCutSceneOnStart Monobehaviour. It is a looping cutscene. When selecting an item in this menu another scene is loaded.

    This new scene also contains cutscenes but are not automatically played.

    If i leave this new scene to return to the menu without playing any cutscene, everything works great. I have my menu cutscene showing around and i can select another item and so on, with no problem.

    But if i play a cutscene in the loaded scene and then go back to menu, my menu game screen is full black except at a frame when looping the cutscene (i know it’s a bug that will be corrected in next release). No other camera than the directorcamera is activated during the play (i’ve checked everything such as layer, depth and and so on) but i cannot find why this screen is black… The cutscene is playing since if i look in the scene view everything is ok, except that the rendered scene is full black… or i can’t see anything even if lights are ok.

    Lights are ok, camera is ok, cutscene is playing but i can’t see nothing in the game view. Everything is ok in the scene view.

    Has anybody experimented that kind of thing ?

    I tried to unforce Deffered rendering path on camerashots (don’t know why it is set to that instead of use playersetting, maybe because of camera rendering video recording), tried to unforce don’t destroyonload on cameradirector (there’s another problem with that since when a looping cutscene is destroyed because of another level loading, the cameradirector stays activated), with no effect.

    Any clue would be very appreciated…

    Regards to all

    Stephane

    #559
    Gavalakis
    Keymaster

    Hello,

    Thanks for the info. The issue seems to be relevant to the ‘DirectorGUI’ component that is attached on the Director Camera gameobject. It seems that at the time when the new scene is loaded, the cutscene fades the screen to black. Do you have any Fade to Black action clip in the cutscene, either by using the Fader action clip or the Fade to Black blend out effect in the Camera Shot action clip of the cutscene Camera Track?

    If you want to confirm that this is indeed the source of the issue, please try and remove the DirectorGUI component found on the Director Camera gameobject in playmode and when the screen shows black where it should not.

    Is it possible for you at all, to send me the project (or another small project reproducing this issue) to support_at_paradoxnotion.com so that I can check out exactly how your setup is?

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #563
    stephanep76
    Participant

    Thanks Gavalakis,

    I’ve made test and you’re right, it’s DirectorGUI which is responsable for the black screen.

    It seems that the problem is that my menu looping cutscene does not have any fade (because it loops).

    When i play another cutscene from inside the game, these cutscenes have blendout with a fade which finish with a fadeColor of 0,0,0,1 in OnGUI of DirectorGUI

    When i go back to the game menu there an OnGUI called from Unity (from DockArea…) and because fadeColor is still to 0,0,0,1 the screen is made black

    I have made a test in a build version and the problem is also present so not only an editor problem.

    I think that some things are missing to be reset to default after cutscenes are over.

    Any idea when the next release will be available ?

    Thanks

    Stephane

    #564
    stephanep76
    Participant

    Gavalakis,

    I found a workaround with setting a blendin fade in my mainmenu loop cutscene with a time of 0 (i think it reinitialize the fadeColor)

    I can wait for the update now.

    Thanks

    Stéphane

    #566
    Gavalakis
    Keymaster

    Hello Stéphane,

    Thanks for letting me as well as the detailed information.
    I am glad you found a workaround to this until the new version is up! 🙂

    Cheers!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.