Free URP Water System by Unity

Sdílet
Vložit
  • čas přidán 13. 09. 2024
  • 50% off new release discounts on the Asset Store: prf.hn/l/dlR3glw
    - Unity has a great water system in the boat attack project, and i'll show you how to import it to your URP project.
    Boat Attack (Github) : github.com/Uni...
    Don't forget to like and subscribe for more videos like this one

Komentáře • 109

  • @moviemyuk
    @moviemyuk Před 3 lety +27

    Wow that looks mega easy and saved me a lot of effort! thanks!

  • @mohammedelwardighi9426
    @mohammedelwardighi9426 Před 8 měsíci +15

    It didn't work in new unity's versions 😢

  • @stylie473joker5
    @stylie473joker5 Před 10 měsíci +3

    Tested on Urp 2022.3.5f1 and works great

  • @quadriproduction
    @quadriproduction Před 3 lety +5

    Hi your tips are very useful.so thank you and continue with this chanel.Its very good

    • @ZiFX
      @ZiFX  Před 3 lety

      Thank you very much for your support, I really appreciate it :)

    • @Hardcore0
      @Hardcore0 Před rokem

      @@ZiFX can I make a water mesh with this system,I mean different forms of water object like cube,sphere

  • @emberdragons8244
    @emberdragons8244 Před 2 lety +2

    You are amazing the water is relly good!

  • @DrDandD
    @DrDandD Před rokem +2

    Thanks, ima have to use this as a base for my project

  • @khalilsnoussi8559
    @khalilsnoussi8559 Před 2 lety +4

    thank you very much bro, i will use it to understand hlsl, also can you provide us some more informations about how to make a small mesh of water instead of this infinite water ?

  • @Frag.112
    @Frag.112 Před 2 lety +3

    unity 2019.4.0f1 URP 7.4.1 - not working
    Error CS0115 'WaterSystemFeature.WaterFxPass.OnCameraCleanup(CommandBuffer)': no suitable method found to override WaterSystem

  • @AmgedAlfakih
    @AmgedAlfakih Před 3 lety +1

    شكرا على الشرح اخوي

  • @pratyushbarikdev
    @pratyushbarikdev Před 3 lety +1

    Nice. Just found your channel.

  • @thedonzo506
    @thedonzo506 Před 2 lety +9

    Would be helpful to show every button you clicked

    • @timothy_synth
      @timothy_synth Před rokem +3

      He showed every important detail. If thats already too difficult, you should watch some more beginner tutorials 👍🏻

  • @manschalda
    @manschalda Před rokem +8

    can someone tell me why my sea is pink and the materials too?

    • @NOTAHEK
      @NOTAHEK Před 8 měsíci +2

      Use URP and upgrade the materials also

    • @BaDbOy-wj1ii
      @BaDbOy-wj1ii Před 6 měsíci +1

      upgrade the material? what do you mean by that??@@NOTAHEK

    • @billyBoi_real
      @billyBoi_real Před 5 měsíci +1

      Upgrade the materials if your using URP

    • @waedradi8552
      @waedradi8552 Před 3 měsíci

      ​@@billyBoi_real
      how plz, tell me the instructions

    • @billyBoi_real
      @billyBoi_real Před 3 měsíci

      ​@@waedradi8552select the materials in your project, then go to Edit > Rendering > Materials > convert selected Built-in Materials to URP

  • @devangbyju7386
    @devangbyju7386 Před 2 lety +1

    thanks a lot
    this is ultimate easy
    other video are very tuff
    you tube is so helpful because of channels like this

  • @Mikelica69
    @Mikelica69 Před 3 lety +1

    Thanks!

  • @munyunu
    @munyunu Před rokem

    thank you!

  • @KENISEG
    @KENISEG Před 2 lety +2

    boatdemorenderer is missing rendererfeatures

  • @netofranc
    @netofranc Před 5 měsíci

    WOW, thank you so much

  • @ashir.javed6
    @ashir.javed6 Před rokem

    THANK YOU BROOO

  • @Alappavan
    @Alappavan Před 8 měsíci

    Thank you so much ❤

  • @crystalmae2250
    @crystalmae2250 Před rokem +8

    Are you able to resize the water also?

    • @Geapen8
      @Geapen8 Před 29 dny

      If you have the scale bug I have it too, if you solved it I would like to know how, I'm really struggling with it

  • @user-ox6eq9dz8o
    @user-ox6eq9dz8o Před 2 lety

    thank ypu very much

  • @davidmonroe2770
    @davidmonroe2770 Před rokem +3

    Mine just come out as pink and no effects no shaders no nothing just a pink plane and I don’t know why

    • @alainthenot2309
      @alainthenot2309 Před 14 dny

      It is because you are not using the correct shader, you need to update the shader material

  • @stephenirving9846
    @stephenirving9846 Před rokem +3

    I'm on unity 2021.3.91f and this doesn't work for me. I keep getting the error of
    MissingReferenceException: The variable defaultFoamRamp of WaterResources doesn't exist anymore.
    You probably need to reassign the defaultFoamRamp variable of the 'WaterResources' script in the inspector.
    And I don't see any water at all.

    • @stylie473joker5
      @stylie473joker5 Před 10 měsíci

      Works on my end i'm on Urp 2022.3.5f1 without errors

    • @mohammedelwardighi9426
      @mohammedelwardighi9426 Před 8 měsíci

      Yeah me too it doesn't work

    • @mireko7225
      @mireko7225 Před 3 měsíci

      Same for me:
      MissingReferenceException: The variable defaultFoamRamp of WaterResources doesn't exist anymore.

  • @ananthsundarraj924
    @ananthsundarraj924 Před 10 měsíci

    thanks time saver

  • @RyanHeath-c9p
    @RyanHeath-c9p Před 4 měsíci

    YES

  • @fehl9249
    @fehl9249 Před 2 lety +2

    I get a bunch of Missing Burst Compile errors. Not sure how to fix. Any suggestions?

    • @spaderdabomb
      @spaderdabomb Před 8 měsíci

      Make sure you install the burst package - its separate and won't auto install itself

  • @escanor8696
    @escanor8696 Před 3 lety +5

    When i try to do this I'm facing many errors..is tgere any thing else to do?

  • @fukukyun78
    @fukukyun78 Před rokem +6

    Maybe it broke in the newer version of Unity or something, but i can't get it working... There's one error,
    "You can only call cameraColorTarget inside the scope of a ScriptableRenderPass. Otherwise the pipeline camera target texture might have not been created or might have already been disposed."
    which might be what's giving me trouble, but i'm not sure. It doesn't quite look as nice as it does in this video, the foam is strange and changes position based on my camera, not solid objects, so if i go closer the foam goes further under the water (???), and it seems to interfere with the atmospheric fog render feature i have, causing it to flash like crazy. Looks fantastic, i wish it worked like it does in the video haha.

    • @Destroyanad
      @Destroyanad Před rokem

      Make sure your project is URP. It works for me, Unity version 2021.3.8f1

    • @fukukyun78
      @fukukyun78 Před rokem

      @@Destroyanad I'm in URP, using the latest 2022 version.

    • @random_precision_software
      @random_precision_software Před rokem +1

      ​@@fukukyun78 I have to put in my normal assets,it didn't work in the packages folder

  • @dogancanozgokceler3234
    @dogancanozgokceler3234 Před rokem +1

    I dınt get it I try it 20 times and all time I cant make it. Why it not work ?

    • @tommhnsn
      @tommhnsn Před 9 měsíci

      github.com/Unity-Technologies/BoatAttack/tree/graphics/wgpu
      use 2023.2.3

  • @user-xi9nj8ok3z
    @user-xi9nj8ok3z Před 3 lety +5

    Does it work on mobile?

    • @ZiFX
      @ZiFX  Před 3 lety +1

      Yes, you can download the project and build it for mobile for testing.

  • @shivambankar1079
    @shivambankar1079 Před 2 lety

    actually its giving some kind of error, GUIText (11, 16), USE ui.TEST INSTEAD?? WHAT SHOULD I DO TO RESOLVE IT .

  • @maximus103
    @maximus103 Před 26 dny

    Can i use this in VR

  • @fatimanammi
    @fatimanammi Před rokem +2

    Is there a way to have the water fill a specific area?

    • @ramstar
      @ramstar Před 8 měsíci

      Did you find the answer?

    • @Geapen8
      @Geapen8 Před 6 měsíci

      @@ramstar try to reduce the scale of the SeaVisual

  • @sxsignal
    @sxsignal Před 4 měsíci

    works great, but when using the buoyancy script on multiple objects, they all have the same float/bounce. anyone figure out how to fix that? AND, it ALWAYS re-orients the GO to 0 on Y axis rotation when enabled

    • @khaledalhammadii1185
      @khaledalhammadii1185 Před 3 měsíci

      How did you manage the script? Mine doesnt work at all when I added it to an object

  • @momenel-atroush257
    @momenel-atroush257 Před dnem

    Are you egyptian ?

  • @milankiele2304
    @milankiele2304 Před 2 lety +2

    Hey just one question how do you get rid off the water following the active camera?

  • @isaacashton5772
    @isaacashton5772 Před 4 měsíci

    does anyone know if i could use this as water in my top down game? It seems like a much easier solution than animated tiles and a custom shader… (Yes, it’s a tile based game, that’s why i’m wondering if this would work well with 2D) I think it could look nice with the pixel perfect camera too. I’ll try it today and post the result if it’s nice!

  • @StickyLabDev
    @StickyLabDev Před rokem +1

    2 yeras agou

  • @dicudavidmihai5068
    @dicudavidmihai5068 Před 9 měsíci

    I don't know how to add the files to unity can you please help me?

  • @ben6862
    @ben6862 Před 2 lety

    Anyway to stop the lag when not in game mode? If i am not holding down the right mouse button the water lags constantly.
    Update, just click always refresh on.

    • @akuna5319
      @akuna5319 Před 2 lety

      where is that option exactly?

  • @RobloxYoutube549
    @RobloxYoutube549 Před 5 měsíci

    how do i paste the Package in there ?

  • @dwnetgaming3269
    @dwnetgaming3269 Před 2 lety +4

    Hi' i tried to add the folder to my package folder but i got a lot of errors.. i'm useing Unity 2021.2.9f

  • @user-zs5rh7ov2n
    @user-zs5rh7ov2n Před 10 měsíci

    what do I do if my water just turns purple?

  • @whitesheep1417
    @whitesheep1417 Před 2 lety

    How do i copy the folder to my package folder in unity?

  • @D0V1S_main
    @D0V1S_main Před rokem

    doesn't work

  • @TxH.Naicxis
    @TxH.Naicxis Před 3 lety +2

    copy paste
    the water wont move and is pink (no texture)
    solutions?

    • @ZiFX
      @ZiFX  Před 3 lety +1

      This is for URP

    • @TxH.Naicxis
      @TxH.Naicxis Před 3 lety

      @@ZiFX i have URP installed in packages

    • @TxH.Naicxis
      @TxH.Naicxis Před 3 lety +1

      @@ZiFX sry, my bad, URP wasnt correctly implemented
      is there an option for me to not turn the entire world into water though?

  • @merion297
    @merion297 Před 2 lety +1

    Is there really no water refraction in these engines, in 2021? :( (I'm just searching for a video about it but everywhere, there's no refraction or they think that ripples are refraction.)

    • @vuilbaardgames3280
      @vuilbaardgames3280 Před 2 lety

      which engines? you talk about multiple engines here

    • @merion297
      @merion297 Před 2 lety

      @@vuilbaardgames3280 None of them.

    • @thelostskibidiestsigma
      @thelostskibidiestsigma Před 2 lety

      Yeah, because this is meant to run on anything, not on an RTX 3090.

    • @merion297
      @merion297 Před 2 lety +1

      @@thelostskibidiestsigma It's not needed to trace even a single photon for refraction. Refraction is so easy to render that it could be implemented even in an old DOS-version Tomb Raider 1, running on a DX486 PC. (For planar or near-planar water surfaces, of course.)

  • @NosticGames
    @NosticGames Před 2 lety +1

    why is my water pink????

    • @mehadnadeem4252
      @mehadnadeem4252 Před 2 lety +2

      Go to Edit > Render Pipeline > URP > Upgrade Project Materials

  • @MSSMikos
    @MSSMikos Před rokem

    Can you explain me why i'm getting errors after trasfering the folldder?
    There is some script error whitch destroys water prefab.

  • @aj8841
    @aj8841 Před 2 lety

    Hello, I tried to do the same, I imported it the water material doesnt seem to want to render in 2021.1.26f1 URP. How can I fix?

  • @harharrr9810
    @harharrr9810 Před 2 lety +1

    the script is not working

  • @lflxko3912
    @lflxko3912 Před rokem

    This works fine but keeps following me camera around? How can I prevent this?

    • @lenrainnn
      @lenrainnn Před rokem

      You want the camera to stop following you in the scene mode??????

  • @erngkmn
    @erngkmn Před 2 lety +1

    I got 228 error messages in 2020.3.11f1 :)

  • @wingstrongwingstrong
    @wingstrongwingstrong Před 2 lety

    the script doesn't work. This turns off my URP until I remove your water.

    • @Destroyanad
      @Destroyanad Před rokem

      The scripts work. Its made by unity. It can not turn off your URP, whatever is going on, is not because of script errors

  • @lepota5050
    @lepota5050 Před 3 lety +1

    I'm a kettle and I didn't make it,

  • @gg-ti6or
    @gg-ti6or Před 2 lety

    how to make cube interact whit wather i tried like in video but it wont work @zii

    • @Destroyanad
      @Destroyanad Před rokem

      Navigate to the cool folder called scripts. Then drag "BuoyantObject" onto the cube.
      On the script in the cube, change Density to somthin like 10, and volume to somthin like 5.
      And boom, done.

    • @Geapen8
      @Geapen8 Před rokem

      @@Destroyanad I have done this, and i have the error "you can't neast foldout headers, end it with" can't find something to fix this error

    • @shakina904
      @shakina904 Před 8 měsíci

      Hi I've encountered this statement too, did you manage to fix?@@Geapen8

  • @BYBUKS
    @BYBUKS Před 2 lety +1

    WHY IS IT PINK

    • @stylie473joker5
      @stylie473joker5 Před rokem

      Pink means the texture is missing or you're not on the correct Render Pipeline (the water package works on URP)

  • @stephenirving9846
    @stephenirving9846 Před rokem

    Another warning I will post. I downloaded the code and then I tried to push some of the files into my git. I got the error. I got some LFS errors. It took forever to figure out how to get rid of this error.
    I don't recommend anyone download this code. It isn't maintained for new versions.

    • @tommhnsn
      @tommhnsn Před 9 měsíci

      github.com/Unity-Technologies/BoatAttack/tree/graphics/wgpu
      use 2023.2.3

  • @did3d523
    @did3d523 Před 3 lety +2

    dont work you dont explain

    • @ZiFX
      @ZiFX  Před 3 lety

      😆 oh that sucks. Let me know if you need help.

    • @did3d523
      @did3d523 Před 3 lety +1

      @@ZiFX sea appear Pink no texture no shading! on unity 2020 and not work at all with unity 4.18

    • @ZiFX
      @ZiFX  Před 3 lety +3

      That means you're using the Built-in render Pipeline. This water system is for URP as i said in the video, but you can install the URP package from package manager or if you're starting a new project you can just choose a URP project from Unity hub.