11-24-2021 08:06 AM - edited 11-24-2021 08:06 AM
Following this guide https://developer.oculus.com/blog/introducing-application-spacewarp/
I am trying to use Application Spaceawarp (AS) in my project.
From the guide it is unclear to my how you should exactly replace the URP pipeline. What I did (unsuccesfully):
delete the current URP package from my project
place the folder com.unity.render-pipelines.universal from that branch into my assets folder.
What happens is that I get compilation errors for scripts inside com.unity.render-pipelines.universal, it is missing a bunch of stuff.
(for example: Assets/com.unity.render-pipelines.universal/ShaderLibrary/ShaderTypes.cs(5,10): error CS0246: The type or namespace name 'GenerateHLSLAttribute' could not be found (are you missing a using directive or an assembly reference?))
When I include the URP package from the package manager, I get the message that there are duplicates.
(for eaxmple: Assembly with name 'Unity.RenderPipelines.Universal.Runtime.Tests' already exists (Assets/com.unity.render-pipelines.universal/Tests/Runtime/Unity.RenderPipelines.Universal.Runtime.Tests.asmdef) )
Advice is appreciated 🙂
Solved! Go to Solution.
12-02-2021 06:55 AM - edited 12-03-2021 07:53 AM
Edit: I'm not sure what happened, but it now works following this part of the guide.
11-24-2021 01:41 PM - edited 11-24-2021 01:41 PM
If you are downloading it from the website it downloads the repo incomplete, so you need to use Git. The actual repo size is something like 3Gb, then just install each package locally. My problem now with AWS is making it work with custom shaders, there is poor documentation of how to do it.
12-02-2021 06:55 AM - edited 12-03-2021 07:53 AM
Edit: I'm not sure what happened, but it now works following this part of the guide.