Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[RELEASED] Enviro - Sky and Weather (Dynamic Sky and Weather System)

Discussion in 'Assets and Asset Store' started by Vondox, Apr 11, 2015.

  1. AhmadMcreator

    AhmadMcreator

    Joined:
    Nov 20, 2019
    Posts:
    21
    Hello again so it worked fine in the scene view but not when playing as the clouds starts flickering. Another issue is that when I deactivate the standard instance so I can use the URP instead I get a black screen in game. I re downloaded the asset multiple times and followed the instructions. here are the errors I get.


     

    Attached Files:

  2. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hi, I will send you update 2.3.1 that will be released soon. Quite a few fixes for URP included and should fix those issues you see.
     
    nomax5 and AhmadMcreator like this.
  3. Drimacus

    Drimacus

    Joined:
    Jun 11, 2018
    Posts:
    5
    Hi, will lightshafts work with URP 7.2.1 and VR single pass instanced rendering?
     
  4. SonicShade

    SonicShade

    Joined:
    Dec 29, 2015
    Posts:
    8
    @Vondox I can't choose the URP in my project's graphics settings. When I open the list it's empty. I tried to import "LWRP/URP Support for Enviro Standard" but it gives me this error:


    Code (CSharp):
    1. Failed to import package with error: Couldn't decompress package
    2. UnityEditor.AssetDatabase:ImportPackage(String, Boolean)
    3. EnviroSkyMgrEditor:OnInspectorGUI() (at Assets/Enviro - Sky and Weather/Core/Scripts/Editor/EnviroSkyMgrEditor.cs:155)
    4. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    Followed by a few of these:

    Code (CSharp):
    1. EndLayoutGroup: BeginLayoutGroup must be called first.
    2. UnityEngine.GUILayout:EndVertical()
    3. EnviroSkyMgrEditor:OnInspectorGUI() (at Assets/Enviro - Sky and Weather/Core/Scripts/Editor/EnviroSkyMgrEditor.cs:158)
    4. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    Any idea how to solve this?
     
  5. AhmadMcreator

    AhmadMcreator

    Joined:
    Nov 20, 2019
    Posts:
    21
    Hi just wanted to let you know that it is working now with the update :) thank you!
     
  6. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hi, what Unity version do you use, as I actually would need to check that.
     
  7. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hi, oh that is strange. Can you please try to import the package by hand?
    (Enviro - Sky and Weather -> Enviro Standard -> URP Support)

    I also will send you link for latest version as there where quit some URP fixes.
     
  8. AhmadMcreator

    AhmadMcreator

    Joined:
    Nov 20, 2019
    Posts:
    21
    Hello

    It seems the update is interfering with invectors asset as once I installed it the background in the inventory shows the sky for some reason. this never happened before. I've spent a lot of time trying to figure it myself before giving up and coming here. I am switching between ForwardRenderer and EnviroStandard URP but for some reason that did not show up :p

     
  9. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, never used that asset but there may should be an extra camera that renders your inventory character preview.

    Now just add the empty "Forward Renderer" as second entry in your "Universal Rendering Pipeline Asset":
    upload_2020-6-5_13-4-52.png

    And in your inventoy camera you use that one instead of the enviro one:
    upload_2020-6-5_13-5-50.png

    Maybe that will help?!
     
    AhmadMcreator likes this.
  10. nomax5

    nomax5

    Joined:
    Jan 27, 2011
    Posts:
    355
    I had a flickering problem it turned out to be the near and far clipping planes on the camera, I had set them to .01 and 100,000 - when I set them to .1 and 5,000 the problem went away. apparently some GPU's have a problem with big or small numbers. might be worth a try.
     
    AhmadMcreator likes this.
  11. nomax5

    nomax5

    Joined:
    Jan 27, 2011
    Posts:
    355
    My Question:
    I have my own Ambient sounds and would like to use them with enviro
    I see you have sfx_enviro_ambient_day & sfx_enviro_ambient_night in the SFX folder but I can't see where those are defined in the Enviro Sky Manager.
    Also I want to hav a bunch of other sounds happening at various times and triggers etc.
    For example:
    I would like to change the ambient sound when inside a building
    Have the occasional oneshot dog bark fire off with code
    and obviously give my players the facility to change the volume of the Ambient weather sounds

    I do have Master Audio from the Asset Store
    If possible I would like to know how to integrate enviro with Master Audio so that all my audio is managed in the same place.

    Cheers

    Roy
     
  12. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello Roy, the ambient sounds are defined in each weather preset. You can use the "Interior Zone" component to lower volume and have different ambient sounds in some areas of your scene. More complex behaviors would need to be coded yourself.

    You can change the volume of ambient and weather sounds with those lines:

    EnviroSkyMgr.instance.AudioSettings.ambientSFXVolume = 0f;
    EnviroSkyMgr.instance.AudioSettings.weatherSFXVolume = 0f;

    So hook those in your settings ui to give player the ability to change the volume.

    Sorry I haven't used Master Audio asset yet. But you may need to handle all your sounds then yourself and not using Enviro for that anymore. You also could change the code in enviro but you would need to redo that on every update. So most of the time better to create your own system and use Enviro event system for that to know when weather changes and so on.
     
  13. nomax5

    nomax5

    Joined:
    Jan 27, 2011
    Posts:
    355
    Thanks for your response Vondox it's a big help, I have a feeling that Master Audio simply manages multiple audio sources, I'll have a fiddle and report back.
     
  14. AhmadMcreator

    AhmadMcreator

    Joined:
    Nov 20, 2019
    Posts:
    21
    Thanks that did it! :D
     
  15. Drimacus

    Drimacus

    Joined:
    Jun 11, 2018
    Posts:
    5
    Unity 2019.3.0f6
     
  16. mmaclaurin

    mmaclaurin

    Joined:
    Dec 18, 2016
    Posts:
    244
    Hello @Vondox I'm wondering what's coming for Enviro Pro? I've moved back to the standard pipeline and currently combining enviro and aura. Feels like it would be possible to converge on a single solution that covered enviro, aura, and fog volume feature sets - anything like that in the plans?
     
  17. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hi, singlepass instanced should work on that version with latest Enviro that will be released in the next days. Tell me if you need download for that version now.
     
  18. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, pro version currently only pallned to add HDRP support to Enviro. There are plans for a new fog system but no eta for that one yet.
     
  19. swredcam

    swredcam

    Joined:
    Apr 16, 2017
    Posts:
    118
    I get shadows from my FPS character. It does not have any material or renderer attached to it, so I'm not sure how this is happening. Is there a setting in Enviro that can take an object out of the lighting strategy? To be clear, this is a shadow that moves with / follows my character.
     
  20. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    1,394
    Although one doesn't notice it usually, I'm always amazed by how important the sky and light of it is. Without Enviro half of the images would look pale.

    irval ice 2.jpg
    ice 1.jpg
    toxic fire 7.jpg
    rider 4.jpg
     
    Vondox likes this.
  21. junqing_mark

    junqing_mark

    Joined:
    Apr 18, 2020
    Posts:
    3
    Hi, Vondox, Thank you for providing this great plugin, now I have a problem in Lite version about skybox, I found when day night change and in night the skybox will have some color level like waves in sky. can you tell me how to make the color level disappear please.
     

    Attached Files:

  22. Cloudsquads

    Cloudsquads

    Joined:
    Dec 14, 2018
    Posts:
    1
    hi, having a issues in build.
    enviro standard working fine in editor, but when taking build seems no clouds, fog are shown in the scene
    Tried adding in to "always Included shaders" too, but still not appearing in the windows 10 build from unity 2018.4.22 lts
    how to fix this?
     
  23. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, hard to tell from here. There is no setting in Enviro as Enviro just controls a Unity directional light. You need to set shadow cast for each mesh renderer. So maybe double check if there is some mesh renderer that could possibly cast the shadow.
     
  24. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, that's some slight banding you see here. Next update will include improved dithering at nights and may help here. Should be online next week.
     
  25. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, you already send that in discord, right? I already answered it there and I need some more information.
     
  26. derkoi

    derkoi

    Joined:
    Jul 3, 2012
    Posts:
    2,043
    @Vondox I'm generating my terrain at runtime using the Multiplatform Runtime Level Editor from the asset store, after the terrain is generated I add Microsplat to it. Enviro is already in the scene but is no longer linked to Microsplat for rain and snow. How can I link these at runtime please?

    Thanks
     
  27. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, the microsplat integration isn't really "linked" to microsplat. It just set some global shader variables. I would double check if your microsplat material is correctly setup when you apply it in runtime. Otherwise maybe ask Jason what we are doing wrong here. :D
     
  28. jmdeb

    jmdeb

    Joined:
    Jul 28, 2017
    Posts:
    12
    Can't wait for it!! Any estimated release date?
     
  29. cygnusprojects

    cygnusprojects

    Joined:
    Mar 13, 2011
    Posts:
    698
    Hi, anyone succeeded with integrating Enviro Standard with the 'Low Poly Water GPU' asset? Is there any integration documentation or tips available to do so?
     
  30. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, HDRP support is in beta testing on our discord channel. Feel free to join there and I could add you to our beta group. :)

    https://discord.gg/5c6kfW6

    Unfortunaly no release date yet.
     
  31. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, please feel free to join our discord and we could have a look into that together.

    https://discord.gg/5c6kfW6
     
  32. galman33

    galman33

    Joined:
    Jan 24, 2014
    Posts:
    12
    I've added Enviro to my project, and so far it's working great.

    But I have a problem in VR mode, both "Single Pass VR" & "Single Pass Instanced VR" are checked, but the clouds seems to be not in sync with my head and not in sync between my eyes. Is there a solution for that? (I'll try to upload some pictures/videos later)
     
  33. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, what Unity version do you use? Do you use the legacy XR support or the new plugin based XR support?
     
  34. galman33

    galman33

    Joined:
    Jan 24, 2014
    Posts:
    12
    Sorry, forgot to add that to my question.
    Unity 2019.3.3f1 - URP and I'm using the plugin based XR support, and it's set to Single Pass Instanced
     
  35. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Yeah sorry, the plugin based xr system is not really supported at the moment. Somehow Unity does not set the xr macros correctly in some cases, for example the macro for which eye currently rendering. Are you bound to the plugin based system? Otherwise please try the legacy xr system. That one should work fine in singlepass and singlepass instanced.

    If that is no option I also can offer you a refund.
     
  36. Calum

    Calum

    Joined:
    Mar 14, 2015
    Posts:
    17
    Hi there, I also I can't choose the URP in my project's graphics settings. When I go to the package to import by hand it says there's nothing to import as the assets are already in the project.

    The Enviro Lite URP Renderer file is there but it cannot be added to the renderer graphics settings. It also has some errors in the inspector you can see in the image attached.

    Windows 10, Unity 2019.3.12f1

    Thanks for any help :)

    EDIT - If I'm using too new a version of Unity I can step down if that's the problem, I don't need to use the latest ver.
     

    Attached Files:

    Last edited: Jun 29, 2020
  37. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, are you sure that URP is correctly installed in your project? Did you created the "Universal Render Pipeline Asset" and assigned that one? Then assign the Enviro Renderer inside that.

    https://docs.unity3d.com/Packages/c...versal@7.1/manual/InstallURPIntoAProject.html
     
  38. Calum

    Calum

    Joined:
    Mar 14, 2015
    Posts:
    17
  39. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Ah okay, yeah it should be correct then. Could you please check if your Enviro Sky Manager says that it uses "LWRP/URP"?
     
  40. annunciation

    annunciation

    Joined:
    Nov 23, 2018
    Posts:
    1
    Is there any documentation or how-to's describing satellites? I can't find any information anywhere that tells me what XRot and YRot are or what the number in OrbitDistance means and what it affects. I've been playing around with the numbers, but I just can't make heads or tails of it. Heck, I can't even get anything to orbit the way the sun and moon do. No matter the numbers, the end result is either a satellite that doesn't move or one that spins in a circle in the sky.

    Any help or pointers to help would be greatly appreciated! Even better, if the sun and moon use the same system, what are their numbers? Just knowing that would help me a lot in figuring out how to set things up :)
     
  41. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, sorry I just tested and it is not working like it should at the moment. I will have a look into that now and contact you in a private message then with an hotfix.
     
  42. amaguire

    amaguire

    Joined:
    May 17, 2013
    Posts:
    2
    Hi,
    I am using Enviro Sky and Weather v2.3.0 and I have a scene with the standard set-up with one of the 'Cloudy' presets. It seems that, by default, the clouds go through an animation sequence, evaporating and reforming over time. Is there a way to disable this sequence so that the clouds remain static during game-play? I've tried switching off all sorts of settings, e.g. 'Progress Time' = none, 'Update Weather' off, 'Wind Intensity' = 0.
    ..nothing seems to either switch off the animation or change its speed.
    Any suggestions would be gratefully received.

    thanks.
     
  43. amaguire

    amaguire

    Joined:
    May 17, 2013
    Posts:
    2
    So, I managed to answer my own question! ..I found the setting under the 'Clouds' category of the Profile (see below).
    Setting the 'Cloud Time Scale' to zero fixed it - yay
    upload_2020-6-30_15-46-34.png
     
    Vondox likes this.
  44. amynox

    amynox

    Joined:
    Oct 23, 2016
    Posts:
    107
    Hi,

    i'm getting this error after upgrading Unity:

    Code (CSharp):
    1. Invalid AABB inAABB
    2. UnityEngine.Camera:Render()
    3. <RefreshOvertime>d__34:MoveNext() (at Assets/Enviro - Sky and Weather/Core/Scripts/EnviroReflectionProbe.cs:333)
    4. UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    5. EnviroReflectionProbe:RefreshReflection(Boolean) (at Assets/Enviro - Sky and Weather/Core/Scripts/EnviroReflectionProbe.cs:273)
    6. EnviroCore:UpdateReflections() (at Assets/Enviro - Sky and Weather/Core/Scripts/EnviroCore.cs:1334)
    7. EnviroSky:Update() (at Assets/Enviro - Sky and Weather/Enviro Standard/Scripts/EnviroSky.cs:750)
    Code (CSharp):
    1. Invalid AABB inAABB
    2. UnityEngine.Camera:Render()
    3. <RefreshOvertime>d__34:MoveNext() (at Assets/Enviro - Sky and Weather/Core/Scripts/EnviroReflectionProbe.cs:333)
    4. UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    When using Enviro (2.1.5) and Unity 2019.4.2f1.

    Any help please ?
     
  45. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, can you please try and update Enviro? You are using a quite old version.
     
    amynox likes this.
  46. howieDoin

    howieDoin

    Joined:
    Dec 11, 2016
    Posts:
    6
    Could someone please lead me in the correct direction to simply get this wonderful program to work with Vive VR? To save my life, no matter what I try, orchestrate, or attempt, I can not get this to work with Vive VR. I create a simple scene in Unity consisting of a flattened Cube for a spawning point platform, I load the VRChat SDK in Unity, drag up the VRCWorld, then load Enviro, and choose the VR option, and when I choose to Build the world in the VRCSDK, all I see in the Vive headset is an extremely bright platform, and jet black every where else. That's it. Precise, detailed, step by step, intricate installation instructions are at a premium, it seems, as I can not find any detailed instruction pertaining to the VR end of this, and I followed the v2.3.1 Getting Started PDF to a "T", but still to no avail.
     
  47. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello,

    unfortunaly VRChat only supports very limited scripted assets. So there is no way to get Enviro working with VRChat at the moment.:
    https://docs.vrchat.com/docs/supported-assets

    I only can offer your a refund if you bought Enviro soley for your VRChat worlds.
     
  48. howieDoin

    howieDoin

    Joined:
    Dec 11, 2016
    Posts:
    6
    Vondox, thank you so much for responding to my question, you have put an old soul to rest. I was literally pulling my hair out wondering how to achieve the VRChat VR thing, and could find nothing. No need for a refund, as I can still continue to use your beautiful program else where. Thanks for a great software.
     
    mmaclaurin likes this.
  49. adamz

    adamz

    Joined:
    Jul 18, 2007
    Posts:
    1,023
    Hi, is it possible to have the clouds move along a certain direction? Right now they stay in the same spot, and the edges of the cloud on change. Thanks.
     
  50. Vondox

    Vondox

    Joined:
    Jun 3, 2013
    Posts:
    2,132
    Hello, yes! You would need to increase the "Weather Map Anim Speed" setting in your Enviro Sky Instance -> Edit Profile -> Clouds section. Then you could set the direction by rotating the Wind Zone that is attached as child to your Enviro Sky Instance object.
     
unityunity