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. Dismiss Notice

WaterProDay appears black in game

Discussion in 'Editor & General Support' started by kabeerali13, Nov 15, 2019.

  1. kabeerali13

    kabeerali13

    Joined:
    Nov 9, 2019
    Posts:
    2
    Also getting this error:
    Recursive rendering is not supported in SRP (are you calling Camera.Render from within a render pipeline?).
    UnityEngine.Camera:Render()
    UnityStandardAssets.Water.Water:OnWillRenderObject() (at Assets/Standard Assets/Environment/Water/Water/Scripts/Water.cs:112)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    This only happens when I set it to "Refractive"
    When it is set to "Reflection" It is fine

    bug2.png
     

    Attached Files:

    • bug.png
      bug.png
      File size:
      992.9 KB
      Views:
      625
  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,133
    Joe-Censored and kabeerali13 like this.
  3. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,355
    This makes it sound like you are using one of the Scriptable rendering pipelines. Unity's older water assets are not compatible with these at all.
     
    Joe-Censored and kabeerali13 like this.
  4. kabeerali13

    kabeerali13

    Joined:
    Nov 9, 2019
    Posts:
    2
    Thanks for fast reply guys. I'll look into other assets
     
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    WaterProDay was added for Unity 3.x. I'm surprised it works on modern Unity under SRP under any of its settings.
     
  6. pmaman

    pmaman

    Joined:
    Mar 31, 2019
    Posts:
    2
    Crest is giving me the same problem. in fact whole scene goes black after trying to record in Unity.recorder. Does anyone have any idea how to fix?
     
  7. kenncann

    kenncann

    Joined:
    Jul 16, 2015
    Posts:
    17
    just stumbled across this thread because I was having the same issue. Crest won't work either because it's also not written for URP, from the github:

    The version hosted here targets the built-in render pipeline, links to the scriptable render pipeline versions (URP/HDRP) on the Asset Store are below (URP asset: Crest Ocean System URP)​