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

Bug Verasl boat attack water system weird bug

Discussion in 'Universal Render Pipeline' started by DaKocha, Jul 17, 2020.

  1. DaKocha

    DaKocha

    Joined:
    Oct 7, 2012
    Posts:
    28
    Looks like the Boat Attack GitHub project was meant for Unity 2020. Yet I still tried to make it run on 2019.4. I had to remove an overridden method (which isn't available in Unity 2019.4's URP package) and stuff. It runs very well in the editor but as soon as I build and run it on android, the whole game hangs if the camera doesn't point to anything in the scene (that is not the water itself). In the editor, a strange dark line runs along the water surface when this happens (but it doesn't hang in the editor). I'm posting some screenshots. Please point me in the right direction.

    TIA Screenshot (16).png Screenshot (18).png
     
    ChrisPie likes this.
  2. Carrion-Crow

    Carrion-Crow

    Joined:
    Apr 3, 2015
    Posts:
    14
    your not use water pass in postprocess, or you not use transperent shadow
     
  3. ChrisPie

    ChrisPie

    Joined:
    Mar 5, 2015
    Posts:
    31
    I have the same glitch, the shape of the glitches changes with shadow distance (or the cascades settings), so my guess it is shadows related. I have "Transparent Receive Shadows" enabled. Re-generating lighting doesn't help. Toggling post-processing also doesn't.
    edit: after pretty long investigation and turning off one-by-one gameobjects in demo scene, it seems you need a terrain spanning below everywhere. The shader is a bit wonky in that regard and shadows get bugged without terrain. I don't know if this helps with your issue
     
    Last edited: Dec 7, 2020
  4. SilverStorm

    SilverStorm

    Joined:
    Aug 25, 2011
    Posts:
    711
    My boat attack water doesn't work at all in 2020 it's full of compile errors even though it's a direct download from the protype boss series. Upgrading that project from 2019 to 2020.2 broke it hard.
    I am so sick of this garbage I have to put up with in this engine.

    Right now in Unity if you want new features it's going to cost everything sometimes.
    They clearly don't know how to make something and finish it from the get go
    They use the customers as ginny pigs instead of their own internal team.

    My Rant Below you can ignore:
    I swear they got a massive lawsuit coming if they keep this up.
    When you bare bones an engine with missing features it forces users to upgrade no matter how stable/unstable. This upgrade causes everything that used to work to be at risk....they literally can't make up their minds on features and have to change them around every few months.
    This creates a never ending cycle because they can't keep their stuff together.
    That's illegal.
     
    Last edited: Jan 30, 2021
  5. remotequack

    remotequack

    Joined:
    Aug 1, 2021
    Posts:
    1
    If anyone still has this issue and don't want terrain bellow or this buggy shadow you can set "volumeShadow = 1;" and comment out the rest of line 282 in WaterCommon.hlsl or find a way to fix the function or the arguments passed in it.