Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Official Introducing the new URP 3D Sample

Discussion in 'Universal Render Pipeline' started by Jonas-Mortensen, Sep 25, 2023.

  1. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109


    Introducing the new URP 3D Samples
    We are excited to share with you the brand-new 3D Sample for the Universal Render Pipeline!

    We have created 4 vignette environments with different art styles, rendering paths, and scene complexity, to represent the great variety of 3D projects built with URP. This sample targets a wide range of platforms, from mobile devices, to consoles and PCs, as well as VR headsets.



    We wanted to make a visually engaging experience to showcase the customizability and scalability of URP, while taking into account the many hardware limitations that impact cross-platform development.

    Let’s take a look at the different environments we created!

    Terminal
    Recommended minimum configurations: iPhone 6S or similar

    This environment takes inspiration from various modern museums, airports, and sci-fi architecture designs. In particular, this scene takes advantage of physically-based materials and the GPU Lightmapper to offer a realistic rendering.



    In the main outdoor area, a large platform surrounded by water lets you review your assets in a neutral environment with calibrated lighting conditions. Once on the ramp, you can enter 3 rooms which will teleport you into universes with radically different art styles and platform reach: the Garden, the Oasis, and the Cockpit. To initiate the teleportation, focus on the Unity logo above the teleporting device for a few seconds (requires Play Mode).



    Garden
    Recommended minimum configurations: iPhone 6S or similar

    This scene offers a more stylized rendering, with painterly materials and more organic geometries. Have a stroll in the courtyard of this quiet and nocturnal Japanese building (inspired by Shoin-zukuri style), or visit one of its interiors for a cup of jasmine tea.



    The Garden scales effortlessly on mobile devices and higher end platforms. It features a modular architectural set relying on the default Lit shader, beautifully crafted vegetation (SpeedTree), interconnected interiors, a gentle water stream meandering across the garden, stylized visual effects, as well as numerous decorative dynamic lights to take advantage of URP's Forward+ (or Deferred) rendering path.

    Oasis
    Recommended minimum configurations: iPhone 8 or similar

    Enjoy the warm glow of the sun setting on this peaceful oasis. Walk down the sandy hill, and you’ll find a traditional Bedouin tent set up for the night.




    The Oasis targets handheld consoles and higher-end devices, with the use of more complex Shader Graphs for sand, water, fog, and vegetation. This level is an opportunity to demonstrate the ability for URP to reach a higher level of visual quality when the content is tailored for platforms with more performant GPUs.

    Cockpit
    Recommended minimum configurations: Meta Quest 2

    Jump into this ultra-stylized rollercoaster where your fleet is under heavy attack from an unknown alien faction. You start your ride inside a hangar ship, and quickly realize your armada isn’t a match for the opposing force.



    This scene is specifically tailored for VR headsets and lower-end mobile devices: it is designed to run at high frame rates, while still featuring beautifully stylized visuals. Furthermore, we offer a custom lighting model to showcase the ease of customizability of URP.

    Getting started
    1. Install Unity 2022.3.12f1 via the Unity Hub
    2. Create a new Project and select “3D Sample Scenes (URP)”
    3. Click the “Download template” button on the right panel, and click “Create project”
    4. The project will load in the Editor. The first important time may take a few minutes.



    What's next
    Regularly, we will post updates in this thread to let you know about bug fixes, additions, and major changes.

    Currently, this sample targets Unity 2022 LTS. After the final release later this year, our objective is to add support for Unity 6, which brings further improvements to URP, such as Render Graph and GPU Resident Drawer.

    Known issues
    Build Times: Due to the wide variety of use cases, target platforms, renderers, and features presented in these samples, some URP configurations can result in large numbers of shader variants, which take a long time to compile. To reduce build times, we recommend only building with one Quality Level, a subset of scenes, and toggling VR on or off. We are currently working on optimizing the shader compilation times.

    First editor run: When opening the editor, navigating the scenes and entering game mode for the first time, many shader compilations will happen.

    Temporal Anti-Aliasing (TAA): TAA is a set on the camera and is currently not set per quality level.

    Misc: Changing the resolution at runtime (such as scaling the game view) will cause the screen textures to have incorrect resolution.

    How to give feedback?
    Please take a look at the “Known issues” section above, before reporting issues.

    We invite you to share your general sentiment, ask questions and request help directly in this thread. We also encourage you to experiment with the content of this project and share your findings.

    Furthermore, we are also interested in the level of performance you are getting on your devices. This may help us to identify performance issues on certain hardware configurations.

    For bug reports and crashes, we invite you to discuss them in this thread as well. However, we may ask you to also formally report bugs that aren’t trivial for us to reproduce.

    Thank you!
     

    Attached Files:

    Last edited: Nov 22, 2023
  2. kotbrain

    kotbrain

    Joined:
    Oct 13, 2019
    Posts:
    25
    Even while developing samples, you found several issues with your own engine. Imagine what it would be like if you were making games. However, these samples are good, keep it up, Unity.
     
  3. Jonathan-Westfall-8Bits

    Jonathan-Westfall-8Bits

    Joined:
    Sep 17, 2013
    Posts:
    230
    Yeah, I am happy they are making new samples. It is at least letting them see first hand certain bugs.
    This could help debug and fix them faster. This is a good start too for 3D URP demos.
     
  4. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,662
    Gotta say, these look gorgeous. Especially the Garden one. Good work :)
     
  5. Andy-Touch

    Andy-Touch

    A Moon Shaped Bool Unity Legend

    Joined:
    May 5, 2014
    Posts:
    1,477
    This looks amazing! Great work! :D Looking forward to digging deeper into it!
     
  6. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    We enabled Include Git LFS objects in archives now so you can download the project using the Code->Download ZIP button if you don't want to pull with git :)
     
    nasos_333, Matjio and pierred_unity like this.
  7. Neto_Kokku

    Neto_Kokku

    Joined:
    Feb 15, 2018
    Posts:
    1,751
    Yeah, it just shows how insufficient their internal testing has been. Having these is a good step forward.
     
  8. berniegp

    berniegp

    Unity Technologies

    Joined:
    Sep 9, 2020
    Posts:
    42
    On the topic of making games at Unity: while we don't publish our own games, we still do a lot of game development at Unity through development and co-development consulting services. We have a lot of engineers partnering with Unity customers to make real games and get them to market. So we do have a lot of input from these consulting teams that helps improve the engine.

    https://unity.com/solutions/accelerate-solutions-games
    https://resources.unity.com/unitenow/onlinesessions/benefiting-from-unity-professional-services

    edit: I wanted to share a few resources on the topic of making games. But this isn't the topic for this thread, so let's focus on the new sample project here :)
     
    Last edited: Sep 27, 2023
  9. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,884
    I'm getting a null reference with the sample in 2022.3.10 with the benchmark scene


    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. SceneTransitionManager.EnableScene (SceneLoader sceneLoader) (at Assets/Shared Assets/Scripts/Runtime/SceneTransitionManager.cs:444)
    3. SceneLoader.EnableScene () (at Assets/Shared Assets/Scripts/Runtime/SceneLoader.cs:55)
    4. MediaSceneLoader.EnableGarden () (at Assets/Shared Assets/Scripts/Runtime/MediaSceneLoader.cs:20)
    5. UnityEngine.Events.InvokableCall.Invoke () (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
    6. UnityEngine.Events.UnityEvent.Invoke () (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
    7. UnityEngine.Timeline.SignalReceiver.OnNotify (UnityEngine.Playables.Playable origin, UnityEngine.Playables.INotification notification, System.Object context) (at ./Library/PackageCache/com.unity.timeline@1.7.5/Runtime/Events/Signals/SignalReceiver.cs:36)
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. SceneTransitionManager.StartTransition (MediaSceneLoader mediaSceneLoader) (at Assets/Shared Assets/Scripts/Runtime/SceneTransitionManager.cs:541)
    3. MediaSceneLoader.Transition () (at Assets/Shared Assets/Scripts/Runtime/MediaSceneLoader.cs:55)
    4. UnityEngine.Events.InvokableCall.Invoke () (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
    5. UnityEngine.Events.UnityEvent.Invoke () (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
    6. UnityEngine.Timeline.SignalReceiver.OnNotify (UnityEngine.Playables.Playable origin, UnityEngine.Playables.INotification notification, System.Object context) (at ./Library/PackageCache/com.unity.timeline@1.7.5/Runtime/Events/Signals/SignalReceiver.cs:36)
    7.  

    Also for questions:
    1. Why is IL2CPP disabled for android? This means the sample would not be ready for the play store.
    2. Why is input management on both? This is a bad practice in my opinion
    3. Is there a reason prebake collision meshes is disabled? (just curious on your views)
    4. Why isn't strip unused post processing varients on?
    5. Why is Android burst target CPU architecture on nothing? Could hurt performance
    6. The default quality tier used for android is PC Low. It is unchecked, but since it's green it's forced to be included and WILL be used! Desktop is also weirdly setup
    7. What are your thoughts on using Vulkan for android with graphics jobs? (can help quite a bit on the main thread!)
    8. I see light cookies is enabled with 2K textures and Color High, even on mobile low. Is this really that cheap to run?
    9. Is there a reason for Fast sRGB/Linear to be disabled?
    10. Why is native renderpass not enabled for mobile?
    11. Maybe a good idea to put the company name to Unity instead of DefaultCompany, looks better
     
    Last edited: Sep 27, 2023
  10. JiRo_Dev

    JiRo_Dev

    Joined:
    Jun 8, 2018
    Posts:
    46
    The only evidence of games made by Unity I've seen is Gigaya which was abandoned, proving even Unity can't finish a game using their own engine. The point behind that project was identifying challenges facing your users, the fact you had to abandon it should be one of the most valuable feedback...
     
    Whatever560 likes this.
  11. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @DevDunk Thanks!
    I'll look into the null reference right away!

    The answer to most of your questions is that it was an oversight by me. So thanks for pointing these things out!

    1. Simply because it is default and I didn't go over the Android player settings yet. I'll update it today
    2. Oversight. I'll remove the old system
    3. From my understanding this is a load time optimization at the cost of build time. I haven't done any thorough testing but for now I prefer the options that saves on build time
    4. It should be. Will update
    5. I honestly don't know about this one. I've asked internally to know cost/benefits and will get back to you
    6. My mistake. Fixed
    7. I did a quick test and didn't see any difference in total frame time (project is very much GPU bound). We are using deferred though so we kind of have to use Vulkan so I'm keeping the settings you proposed.
    8. It's not. Oversight
    9. Nope. Enabled
    10. In forward it shouldn't make a difference but I've enabled it in deferred
    11. Good Idea!

    Updates are pushed to the repo
     
  12. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,884
    Awesome!
    Thanks for the rapid response and fixes
     
  13. vertxxyz

    vertxxyz

    Joined:
    Oct 29, 2014
    Posts:
    106
    Wonderful!
    A few pieces of feedback/issues:
    • Please make it so when the cursor is unlocked the camera doesn't rotate so I can easily take a look at things in the game view!
    • It would be nice if the flythrough timer didn't start when there is no cursor focus, at least there's a checkbox for this.
    • In reality you would probably want an FPS cap on these scenes, but I can understand the desire to avoid it for those that want to frame count, my GPU be squealing!
    • The parallax in the garden rocks is full of artefacts for me (RX 7900XTX), including bright parts at the edges that disappear when I Stop NaNs on the camera.
    • Probably worthwhile to clean up the collisions at the start of the terminal scene, you can shove your head through a lot of geo here.
    Big fan of Plant_01 btw,very nice
     
  14. Kabinet13

    Kabinet13

    Joined:
    Jun 13, 2019
    Posts:
    93
    Looks great! I found enabling post processing and FXAA helped a lot with the pixelated / aliased look of the teleportation screens, I understand the choice to not enable it when optimizing for mobile, but the higher quality presets should definitely include it.

    Unrelatedly, is there a reason why the return screens for the garden and the oasis don't just use a prebaked box projected cube map? With how little your perspective shifts, I imagine it would run a lot better than a second camera.
     
  15. N7RX_Y

    N7RX_Y

    Unity Technologies

    Joined:
    Jun 29, 2020
    Posts:
    8
    I'd like to add some input on question #7 regarding Vulkan + graphics jobs.

    Unity's Vulkan graphics jobs relies on secondary command buffer, which is poorly supported by low-end mobile GPUs and higher-end mobile GPUs prior to Adreno 650 and Mali G710, resulting in extra invocation overhead and sometimes disabled hardware optimization. This could lead to performance regression on a lot of Android devices.

    Therefore, unless you are targeting newer high-end Android devices, it would be wise to keep graphics jobs off. But ultimately, it's also project/hardware dependent so run your own profiling before making the decision.
     
    pierred_unity likes this.
  16. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,884
    Thanks, that's good to know!
    I mostly work with quest 2, where it does help a bit (or has no measurable effect)
     
    N7RX_Y and pierred_unity like this.
  17. pierred_unity

    pierred_unity

    Unity Technologies

    Joined:
    May 25, 2018
    Posts:
    433
    Great feedback, thank you!

    Regarding the teleportation optimization, this is something we discussed internally in the past, and using a reprojected cubemap could indeed be a great solution (especially on lower end devices).

    Having a static image on the screen and a full black dissolve was also considered for the most problematic devices (potentially with a forced player position to initiate the teleportation). But so far we went for a more brute force approach to maximize the "cool factor".

    It's definitely on our list of things to improve already. ;)
     
    PaulMDev likes this.
  18. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @vertxxyz Great stuff!
    Input is now blocked if the cursor is unlocked
    Defocusing game view will now pause the idle timer.
    Collision mesh in terminal is adjusted

    All pushed to the repo

    I'll look into the parallax bug but I need to find a way to reproduce. My Nvidia card doesn't repro but I am seeing some issues with the parallax on android so maybe fixing it there will fix it on your end as well.

    I think we might add a configurable fps cap to an in game menu along with settings for mouse sensitivity, resolution etc. Can't say for sure when that will be added though.
     
  19. Pitou22

    Pitou22

    Joined:
    Sep 23, 2015
    Posts:
    49
    @Jonas-Mortensen If you switch build target to WebGL, the script "StarterAssetsInputs" doesn't compile due to a missing
    using Unity.InputSystem;
    (the existing
    using Unity.InputSystem;
    is excluded)
     
  20. Pitou22

    Pitou22

    Joined:
    Sep 23, 2015
    Posts:
    49
    Inputs doesn't work on the benchmark UI since you disabled the old input system (you need to restart unity to see the breaking change).
     
    Last edited: Sep 28, 2023
  21. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @Pitou22
    Removing old input system did indeed break the Benchmark UI. This doesn't seem to reproduce in latest 2023 so we are investigating if a fix needs to be backported. Thanks for reporting!

    I'll take a look at WebGL and see if I can get it to build. I do want to add that WebGL isn't a platform that we are focusing on with this project. It should still build though :)
     
  22. bnmguy

    bnmguy

    Joined:
    Oct 31, 2020
    Posts:
    136
    These are a good general start. The scenes I have looked at seem to have zero real optimizations done yet. Would be kind of neat to see another version also publish that is optimized to various levels, such as shader precision, baking down high poly objects, combining materials, lighting tricks, etc. Would be a great lesson for devs on optimization techniques having two versions to compare visually side-by-side with and without certain optimizations. IMHO there is a lot of room for some significant performance improvements.
    Overall, these are useful.
     
  23. bnmguy

    bnmguy

    Joined:
    Oct 31, 2020
    Posts:
    136
    Problem with only being concerned with the "cool factor" is practicality. These are tiny scenes so yes, you can afford to do these things. But in reality, real games with larger scenes should avoid these things, especially where mobile is concerned. This is your opportunity to showcase best practices that are applicable to game budgets. Otherwise it ends up being another unrealistic sample of limited use.
     
  24. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    28
    @Jonas-Mortensen I pulled the latest changes from the public-beta branch but still see SceneLoader exceptions when I run the Benchmark scene. Made a build on Android. The Benchmark scene just flickers on the phone without loading any other scenes.

    I then tried to make only the Garden scene build with Android Low-quality settings. It runs at 6 FPS on Redmi 12(4GB RAM, Mediatek Helio G88, Mali-G52 MC2). On Google Pixel 6. It just glitches a lot. Screenshots attached.
     

    Attached Files:

  25. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @Pitou22 We pushed a fix to the Benchmark not working after removing the old input system.
     
    Pitou22, Matjio and AljoshaD like this.
  26. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @bnmguy good proposal to fine tune the shader precision! Regarding the other proposals I want to make sure I understand what you mean:
    Baking down high poly objects: We manage our poly count using LODs. Are you suggesting that our lower LODs have even less geometry or are you thinking about something else?
    Combining materials: We rely on the SRP Batcher to optimize draw calls. SRP Batches do not break per material but rather per variant so I'm not sure if combining materials would be much of an optimization. Could be worth a try though! I'll add to the backlog
    Lighting tricks: What kind of tricks are you talking about? A couple of examples of what we currently do: Fade out lights based on distance, use cookies in stead of shadow maps where it makes sense, use shadow mask in stead of real time shadows on low end, use shared lightmaps between LODs.

    If you have any more suggestions about improving performance I'll be more that happy to hear them!
     
    jiraphatK, DragonCoder and AljoshaD like this.
  27. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @Avinash-pdy thanks for testing the project! I'll see if I can get my hand on devices that reproduce these issues. On the Redmi 12 did you run it in Mobile Low or Mobile High?
     
    AljoshaD likes this.
  28. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    28
    I ran it on Mobile low on all devices.
     
    Jonas-Mortensen likes this.
  29. luispedrofonseca

    luispedrofonseca

    Joined:
    Aug 29, 2012
    Posts:
    934
    This is looking very good. Keep up the great work!
     
  30. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @Avinash-pdy
    I looked a bit into it and the Mali-G52 MC2 is bellow our minimum spec. You could experiment with running regular forward and GLES3 (in stead of Vulkan and deferred) but expect light popping. Before final release we will probably add some additional scaling like varying vegetation density and shader tiers to give some more headroom on lower end.
    The investigation did surface a bug in native render pass though which I'm hoping is also causing the artifacts you're seeing on the pixel. I'll get back to you once we have news on that.
     
    Avinash-pdy and pierred_unity like this.
  31. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,110
    @Jonas-Mortensen You should fix the license, it says Unity Companion license. I highly doubt that any SpeedTree is something we publishers could use in demos on the Asset Store, Unity is not Epic. Otherwise please clarify / confirm. Would be awesome. Thank you! :)
     
  32. pierred_unity

    pierred_unity

    Unity Technologies

    Joined:
    May 25, 2018
    Posts:
    433
    You read it right, the URP 3D Sample is distributed under the UCL.

    I have also double-checked with the SpeedTree team, and they are more than happy for you guys to use the respective assets created for this URP 3d Sample. In short, you can indeed use the SpeedTree assets in a game or demo. ;)

    What will be highly frown upon is repacking these assets as is and reselling them.
     
    Last edited: Oct 4, 2023
    ibyte, Gametyme, James_Arndt and 12 others like this.
  33. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    28
    If I run the benchmark scene directly. The game window doesn't show the environment. I keep getting the below exception. Once I switch to Scene view and come back to game view, it works. On Android, It's just the Benchmark popup without the environment in the background. I am on M1 MAC with Unity silicon version 2022.3.7f1.

    IndexOutOfRangeException: Index was outside the bounds of the array.
    (wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
    UnityEngine.Rendering.Universal.Internal.DeferredLights.UpdateDeferredInputAttachments () (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.8/Runtime/DeferredLights.cs:429)
    UnityEngine.Rendering.Universal.Internal.GBufferPass.Configure (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.RenderTextureDescriptor cameraTextureDescriptor) (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.8/Runtime/Passes/GBufferPass.cs:106)
    UnityEngine.Rendering.Universal.UniversalRenderer.EnqueueDeferred (UnityEngine.Rendering.Universal.RenderingData& renderingData, System.Boolean hasDepthPrepass, System.Boolean hasNormalPrepass, System.Boolean hasRenderingLayerPrepass, System.Boolean applyMainShadow, System.Boolean applyAdditionalShadow) (at ./Library/PackageCache/com.unity.render-pipelines.universal@14.0.8/Runtime/UniversalRenderer.cs:1332)
     

    Attached Files:

  34. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @Avinash-pdy I tried running the benchmark on M1 Mac in deferred and wasn't able to reproduce your issue. Which Quality level are you using?
     
  35. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    28
    I am testing on mobile low.
     

    Attached Files:

  36. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    28
    @Jonas-Mortensen I am curious if this is in active development. I have not seen any push in the public beta branch since 4th Oct 2023 in this. It's a good starter project and can help a lot of people.
     
  37. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    @Avinash-pdy It certainly is in active development. I haven't pushed our changes to the public repo in a while since there haven't been any fixes to issues discussed in this thread but I'm happy that you are interested and have now pushed our latest changes :)
     
    Avinash-pdy likes this.
  38. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,110
    Regarding Oasis: would be nice to have it on a proper terrain instead of mesh terrain.
     
  39. pierred_unity

    pierred_unity

    Unity Technologies

    Joined:
    May 25, 2018
    Posts:
    433
    In addition to @Jonas-Mortensen's message, we've been polishing most levels, cleaning up the project here and there, adding more optimizations, and fixing internally discovered bugs.

    One of the biggest visual improvement, is the wind support and improved subsurface scattering for all the vegetation in the Oasis.

    2023-10-23_10-57-41.gif
     
    PaulMDev, andreiagmu, tachen and 9 others like this.
  40. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    28
    Thanks for the update. I pulled and tested it out. Mobile low graphics setting still doesn't render on mobiles. Mobile high worked. Tested on Google Pixel 3.
     
    Jonas-Mortensen likes this.
  41. snan

    snan

    Joined:
    Aug 11, 2015
    Posts:
    10
    I'm using 2022.3.10f1 and i can't start with the Package. It gives me this error, and i only encounter it when trying to use this sample :(

    I'm using the version from the Unity Hub on the Samples Tab.

    upload_2023-11-21_13-6-52.png


    //Edit: I've read that i had to delete the "Artifact.db" and "ArtifactDB" lock file in the Library Folder of the Project. After that it took a while to load and it reloaded/imported the Files, then it started fine.
    No errors now and everything works fine! If someone has the same problem, try this method.

    Beautiful Projects, great work guys. I'm blown away every detail is great, and the transitions are so nice.
     
    Last edited: Nov 21, 2023
  42. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    Hey @snan thanks for reporting!
    This is a known issue that we are looking in to!
     
    snan likes this.
  43. Avinash-pdy

    Avinash-pdy

    Joined:
    Mar 4, 2013
    Posts:
    28
    Just a thought, Did you consider using BRG to optimise these samples even more for low-end devices? BRG does work pretty well and takes the performance to the next level with few drawbacks of compatibility with OpenGL. Could be a great sample to show case Unity's capability.

    I do see this sample available in Unity Hub Templates now. Would that mean no more pushes to the public repository?
     
    andreiagmu and JesOb like this.
  44. pierred_unity

    pierred_unity

    Unity Technologies

    Joined:
    May 25, 2018
    Posts:
    433
    We have also released the showcase video on YouTube. Enjoy! ;)




    Another news: as planned, the sample is now available on the Unity Hub, for Unity 2022 LTS:

    Just in case, an issue related to the Editor layout was affecting older 2022 LTS versions, such as 2022.3.12f1. Therefore, make sure you use the latest 2022.3.13f1.

    And in a few days, the fresh talk from @Jonas-Mortensen at Unite 2023, with a section dedicated to the URP 3D Sample scenes, will be uploaded to YouTube.
     
  45. Jonas-Mortensen

    Jonas-Mortensen

    Unity Technologies

    Joined:
    Jan 3, 2020
    Posts:
    109
    The public repo will not receive any more updates. All future changes will be available by creating a new project from the hub.

    About BRG. It's an interesting suggestion. I'm not an expert on the subject but I believe they require compute shaders and also only work in forward+ which kind of rules them out from being used on low end. Currently our low end quality level is running deferred. In any case the GPU Resident Drawer should basically provide this optimization automatically. But I might be misunderstanding something :)
     
    andreiagmu likes this.
  46. osmank_02

    osmank_02

    Joined:
    Oct 16, 2020
    Posts:
    15
    @Jonas-Mortensen @pierred_unity My comment got deleted on that video by YouTube, but I'll say it again. These scenes are amazing looking and I did test it on a mobile device with a bit more optimization. Here's the Terminal scene running at 20 FPS on Redmi 9A low-end phone. Decals are disabled : https://imgur.com/a/IpqoPWo
    Enabling decals results in 10 less FPS.

    (I did change the lighting a lil bit)
     
    andreiagmu and AljoshaD like this.
  47. berniegp

    berniegp

    Unity Technologies

    Joined:
    Sep 9, 2020
    Posts:
    42
    andreiagmu and AljoshaD like this.
  48. valentinwinkelmann

    valentinwinkelmann

    Joined:
    Nov 3, 2014
    Posts:
    187
    When starting the scene, I was repeatedly blocked by annoying shader compilations that only came in dribs and drabs. but otherwise, once it was running, it was really beautiful. The transition from the hologram to the individual levels is cool, something like that would certainly be very nice to look at in VR.

    Can we use the assets from the samples for our commercial projects? I'm currently working on a desert game and the palm trees and tent decorations would come in very handy.
     
    colin299 and AljoshaD like this.
  49. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,219
    Hi, does the sample run dulirectly in Unity 2023.3 renderer graph mode ?

    Thanks
     
  50. pierred_unity

    pierred_unity

    Unity Technologies

    Joined:
    May 25, 2018
    Posts:
    433
    Yes, you can use them freely in commercial projects, under this license: https://unity.com/legal/licenses/unity-companion-license

    What you shouldn't do, for instance, is repacking these assets and reselling them on an asset store, or claiming their ownership: for example, extracting the vegetation assets from the oasis as is and reselling them as a "Desert vegetation pack".
     
    andreiagmu likes this.