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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

[Released] Corgi Raytracing - Built-in Render Pipeline (Forward and Deferred!) RTX Reflections

Discussion in 'Assets and Asset Store' started by funkyCoty, Feb 1, 2021.

  1. MagiJedi

    MagiJedi

    Joined:
    Apr 17, 2020
    Posts:
    31
    Already did! We corresponded on the 23rd.Take your time and enjoy the holidays!
     
  2. funkyCoty

    funkyCoty

    Joined:
    May 22, 2018
    Posts:
    680
    I've just submitted a small update. It includes some improvements to reflections, as well as moving the URP support into a nested unitypackage file. Hopefully this resolves any issues between builtin pipeline and urp users.
     
    NotaNaN likes this.
  3. theonerm2_unity

    theonerm2_unity

    Joined:
    Sep 7, 2018
    Posts:
    130
    I can't run this asset on the RX 6900 XT I tried and all I get is a TDR timeout error as soon as I open the project. I upgraded my graphics card and now I can't open my project.
     
  4. theonerm2_unity

    theonerm2_unity

    Joined:
    Sep 7, 2018
    Posts:
    130
    I reinstalled Windows and it works now.
     
  5. funkyCoty

    funkyCoty

    Joined:
    May 22, 2018
    Posts:
    680
    lol woah, a whole windows reinstall? maybe it was some unity shader compiling bug? Without more info it's hard to know what was going on. Glad it's fixed for you, though!
     
  6. theonerm2_unity

    theonerm2_unity

    Joined:
    Sep 7, 2018
    Posts:
    130
    I was in the middle of deciding which card I wanted to keep and which to send back. I had an RTX 3070 ti and an RX 6900 XT. I kept the 6900 XT. I upgraded from an RTX 2080 Super. I tested both cards in ray tracing games and I tested Corgi ray tracing on both cards. And even though the 6900 XT is in the same class as the RTX 3090 and even trades blows with it at times the RX 6900 XT is about the same performance in raytracing as the RTX 3070 ti. The RTX 3070 ti isn't great at ray tracing if you'd like to play in 4K. You turn ray tracing on and performance basically dies. To be fair I had already reinstalled windows once and was on a fresh copy. I wanted to do my testing on a fresh copy of Windows. And since I had tried everything else to get the 6900 XT to work specifically with Corgi Raytracing that I could think of I wanted to try reinstalling Windows to absolutely rule out a software issue. Overall for ray tracing I'd give the victory to the RTX 3070 ti only because of DLSS. Even at performance mode with DLSS it looked pretty good but FSR is a no-go at anything less than Balanced at 1440p. FSR is OK but DLSS is clearly better from a quality perspective. But even then I still think it's kind of amazing that AMD can do that good with FSR for what it is. The RX 6900 XT is the one I kept though. It's clearly better because the raytracing is about equal. The features are slightly better on Nvidia but the rasterization performance is hugely better on the 6900 XT. Plus double the vRAM. And as far as what happened with the RX 6900 XT not working with Corgi raytracing I'd say it was a driver issue because I did not do a clean driver install when trying out the RX 6900 XT. And when I did a fresh install of Windows 11 obviously it was a clean driver install then.
     
  7. theonerm2_unity

    theonerm2_unity

    Joined:
    Sep 7, 2018
    Posts:
    130
    I was able to reproduce the problem and found a workaround. It seems that the latest AMD drivers crash with Corgi Raytracing.
    Revision Number
    Adrenalin 21.10.2 Recommended (WHQL)

    This is the version that works.
     
  8. funkyCoty

    funkyCoty

    Joined:
    May 22, 2018
    Posts:
    680
    Interesting, but in that case it's not a corgi rtx issue or unity issue, it must be an AMD issue. Should send them a bug report, if possible. Thanks for reporting here too, hopefully if anyone else runs across this they'll see it.
     
  9. thelebaron

    thelebaron

    Joined:
    Jun 2, 2013
    Posts:
    825
    I seem to be getting an error using 2022.2.10 and urp 14.0.6
    Code (CSharp):
    1. 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.
    2. UnityEngine.Rendering.Universal.ScriptableRenderer:get_cameraColorTarget ()
    3. RaytraceShadowsFeature:AddRenderPasses (UnityEngine.Rendering.Universal.ScriptableRenderer,UnityEngine.Rendering.Universal.RenderingData&) (at Assets/CorgiRaytracing/Scripts/Raytracing/URP/RaytraceShadowsFeature.cs:42)
    4. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    5.  
     
  10. funkyCoty

    funkyCoty

    Joined:
    May 22, 2018
    Posts:
    680
    Unity probably broke something in a recent update. I generally only support LTS releases, but I'll take a look at this for you when I get a chance.
     
    thelebaron likes this.
  11. funkyCoty

    funkyCoty

    Joined:
    May 22, 2018
    Posts:
    680
    Alright, the update has been pushed!

    I tested this against Unity 2022.2.11f1, seems to be working okay now.

    Unity_KVbh4hRqpo.png

    Whenever the update is live, let me know if you have anymore issues!
     
    thelebaron likes this.
  12. Ragavendran

    Ragavendran

    Joined:
    Nov 24, 2017
    Posts:
    5
    will this work on Oculus quest?
     
  13. funkyCoty

    funkyCoty

    Joined:
    May 22, 2018
    Posts:
    680
    Quest does not have RTX capable hardware, so no.