Search Unity

  1. 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

a19 and urp10

Discussion in '2020.2 Beta' started by laurentlavigne, Jul 31, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,579
  2. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    1,742
    Subfolders work like this (just put the path like this into PM):
    https://github.com/Unity-Technologi...nity.render-pipelines.core#v10.0.0-preview.26

    but I do stress that you need to do this for all: core, universal, shadergraph and visualeffectgraph packages as all required to be linked separately as git support on PM can't pull dependencies. Graphics repo is huge so be prepared for this to take a LONG time.

    Also worth noting that subfolder functionality was only recently introduced in Unity 2020.1+ but this doesn't limit you as URP 10 is for 2020.2 anyway.

    More info about PM and git subfolders here: https://forum.unity.com/threads/some-feedback-on-package-manager-git-support.743345/#post-5425311
     
    Last edited: Jul 31, 2020
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,579
    alright let's try
    upload_2020-7-31_13-46-14.png
    nope
    upload_2020-7-31_13-46-55.png
    doesn't show up
    upload_2020-7-31_13-47-34.png
     
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,579
  5. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    1,742
    You are missing .git from Graphics.git. That being said, like mentioned earlier, Graphics repo is huge which could lead into some timeouts etc on PM (I wouldn't know).

    If you want to make sure it works, just clone it somewhere else and then just file link the packages one by one instead.
     
  6. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    1,742
    Tested this on my end using the link from #2 post, it does work (don't mind the mismatched HDRP package here, only tried this for core package):
     
    laurentlavigne likes this.
  7. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,579
    thanks, the git was missing and also Git itself.
    I finally read the console, it said git is not installed, to install it then restart both unity and the hub (which does path injection i think) so after finding git on the web and going pressing next 2 bazillion times, hopefully not installing some adware and adding .git after Graphics ... it is loading and as you said it takes forever. I tried loading from an unzip folder and got this all time.
    upload_2020-7-31_17-32-34.png

    Workflow of this PM git could be improved easily. For example string detect the present of .git and add it if missing so I don't have to do a machine's job or learn yet another system.
     
    Ruslank100 likes this.
  8. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,579
    yeah i stopped the git import, went the local route and getting these puppies for lunch
    upload_2020-7-31_17-48-1.png
    kinda weird that core 31 would install from preview 26
    upload_2020-7-31_17-49-24.png
     
  9. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    1,742
  10. transat

    transat

    Joined:
    May 5, 2018
    Posts:
    772
    How is URP 10 looking for those who have tried? Does it have deferred lighting?
     
  11. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,579
    nope
     
  12. transat

    transat

    Joined:
    May 5, 2018
    Posts:
    772
    Is AO showing up in the postprocessing stack?
     
  13. polemical

    polemical

    Joined:
    Jun 17, 2019
    Posts:
    359
    I couldn't get the git approach working originally so I ended up doing it this way (shared for anyone else struggling with git):

    Go to https://github.com/Unity-Technologies/Graphics

    Click where it says "Master", then click "Tags"
    unity_graphics_tags.jpg

    Select which version you'd like to install. Click where it says "Code" then click "Download ZIP":
    unity_graphics_zip.jpg

    Extract the ZIP to wherever you'd like. In Unity Editor go to Window->Package Manager and browse to the "package.json" for everything noted by rz_0lento (Core, URP, Shader Graph, Visual Effect Graph).
    add_package.jpg

    /com.unity.render-pipelines.core/package.json
    /com.unity.render-pipelines.universal/package.json
    /com.unity.shadergraph/package.json
    /com.unity.visualeffectgraph/package.json

    You may notice an error in the Console (I've been seeing this in each version for a while now):
    nrefactory_dll.jpg

    The cause of this is a seemingly corrupted version of ICSharpCode.NRefactory.dll that gets included in the zip each time. Easy enough to clear up - browse to it on github from the page you downloaded the zip from and replace the version that came in the zip with that. For the above example that's at: https://github.com/Unity-Technologi...or/ShaderGenerator/ICSharpCode.NRefactory.dll but depending on the version you've downloaded the URL will be slightly different, of course.

    Click Download on the page for it, move it to where you extracted the zip in the subdirectory it belongs in:
    /com.unity.render-pipelines.core/Editor/ShaderGenerator/

    Switch back to Unity Editor, it will do its thing and the error will disappear! :D
     
  14. Lelepoop

    Lelepoop

    Joined:
    Nov 14, 2016
    Posts:
    126
    Likely because of git lfs, if you download to a zip from the website any git lfs objects dont get downloaded and you only get the pointer, clone the branch instead using a git client and add that git folder as the package folder
     
  15. polemical

    polemical

    Joined:
    Jun 17, 2019
    Posts:
    359
    Do you recommend any specific git client (for Windows)? I don't have occasion to need it for anything (generally speaking) and grabbing a zip is easier and more familiar to me than wondering about what I'm installing and what else gets installed along with it and what access it has etc.. it does seem like an issue that someone (github?) should address that you can download the DLL on its own but when included in the zip it's broken. I mean, when exactly would anyone want to "only get the pointer" right lol
     
  16. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,579
    nope
    upload_2020-8-10_20-43-40.png
     
  17. o-san

    o-san

    Joined:
    Jun 23, 2018
    Posts:
    17
    Does ao show up as a ScriptableRenderFeature? It did for me in a18 after downloading graphics pkg. Just wish they would come out of alpha and into beta so this feature would show in the package manager.
     
unityunity