Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Black screen after load

Discussion in 'Editor & General Support' started by cecrai, Mar 14, 2015.

  1. cecrai

    cecrai

    Joined:
    Mar 14, 2015
    Posts:
    1
    Hi,

    I'm dealing with an issue. My unity web player project loads successfully at 100% and shows everything, no problems at all. When my customer loads the exact same web player file (same location), after loads successfully at 100% it turn into a black screen. I don't know why?
     
  2. Battenberg-Software

    Battenberg-Software

    Joined:
    Nov 1, 2013
    Posts:
    15
    Not sure whether my case is relevant to you but I've also had the dreaded black screen in the web player build (on a project that works fine when built for standalone). I was using a custom post-processing effect on my camera as follows:

    Code (CSharp):
    1.         void OnRenderImage(RenderTexture source, RenderTexture destination) {
    2.             Graphics.Blit(source, destination, customMaterial);
    3.         }
    I had to add "ZTest Always" to the shader associated with my material to get it working in the web player. Which makes sense I suppose, but apparently this isn't required for other platforms.
     
    _Prism_ likes this.
  3. _Prism_

    _Prism_

    Joined:
    Jan 25, 2014
    Posts:
    11