Oculus-VR / Unity-Graphics

Unity Graphics - Including Scriptable Render Pipeline
Other
66 stars 51 forks source link

2021.2/oculus-app-spacewarp : Asset resource errors #11

Closed nukadelic closed 2 years ago

nukadelic commented 2 years ago

image

nukadelic commented 2 years ago

this is after fresh re-import all , of the 297 errors are asset recourse errors and two of the following :

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.Universal.ShaderGraph.CorePasses.AddAlphaClipControlToPass (UnityEditor.ShaderGraph.PassDescriptor& pass, UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget target) (at Library/PackageCache/com.unity.render-pipelines.universal@0480d29416/Editor/ShaderGraph/Targets/UniversalTarget.cs:697)
UnityEditor.Rendering.Universal.ShaderGraph.CorePasses.MotionVectors (UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget target) (at Library/PackageCache/com.unity.render-pipelines.universal@0480d29416/Editor/ShaderGraph/Targets/UniversalTarget.cs:907)
UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget+SubShaders.LitComputeDotsSubShader (UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget target, UnityEditor.Rendering.Universal.ShaderGraph.WorkflowMode workflowMode, System.String renderType, System.String renderQueue, System.Boolean complexLit) (at Library/PackageCache/com.unity.render-pipelines.universal@0480d29416/Editor/ShaderGraph/Targets/UniversalLitSubTarget.cs:318)
UnityEditor.Rendering.Universal.ShaderGraph.UniversalLitSubTarget.Setup (UnityEditor.ShaderGraph.TargetSetupContext& context) (at Library/PackageCache/com.unity.render-pipelines.universal@0480d29416/Editor/ShaderGraph/Targets/UniversalLitSubTarget.cs:82)
UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget.Setup (UnityEditor.ShaderGraph.TargetSetupContext& context) (at Library/PackageCache/com.unity.render-pipelines.universal@0480d29416/Editor/ShaderGraph/Targets/UniversalTarget.cs:303)
UnityEditor.ShaderGraph.Generator.BuildShader () (at Library/PackageCache/com.unity.shadergraph@944ae19540/Editor/Generation/Processors/Generator.cs:196)
UnityEditor.ShaderGraph.Generator.Generate (UnityEditor.ShaderGraph.GenerationMode mode, System.String name, UnityEditor.ShaderGraph.AssetCollection assetCollection, UnityEditor.ShaderGraph.Target[] targets, System.Boolean humanReadable) (at Library/PackageCache/com.unity.shadergraph@944ae19540/Editor/Generation/Processors/Generator.cs:65)
UnityEditor.ShaderGraph.Generator..ctor (UnityEditor.ShaderGraph.GraphData graphData, UnityEditor.ShaderGraph.AbstractMaterialNode outputNode, UnityEditor.ShaderGraph.GenerationMode mode, System.String name, UnityEditor.ShaderGraph.AssetCollection assetCollection, System.Boolean humanReadable) (at Library/PackageCache/com.unity.shadergraph@944ae19540/Editor/Generation/Processors/Generator.cs:41)
UnityEditor.ShaderGraph.ShaderGraphImporter.GetShaderText (System.String path, System.Collections.Generic.List`1[UnityEditor.ShaderGraph.PropertyCollector+TextureInfo]& configuredTextures, UnityEditor.ShaderGraph.AssetCollection assetCollection, UnityEditor.ShaderGraph.GraphData graph, UnityEditor.ShaderGraph.GenerationMode mode, UnityEditor.ShaderGraph.Target[] targets) (at Library/PackageCache/com.unity.shadergraph@944ae19540/Editor/Importers/ShaderGraphImporter.cs:428)
UnityEditor.AssetImporters.ScriptedImporter:GenerateAssetData(AssetImportContext)

Unity Version : 2021.2.19f


The render pipeline seems to render in scene and the shader graph seems to work as well , going to try make a build , maybe there is hope

nukadelic commented 2 years ago

nvm i forgot to use LFS