Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
1
Found in
6000.3.0b3
6000.4.0a1
6000.5.0a7
6000.6.0a1
Issue ID
UUM-120311
Regression
No
Various errors thrown in the Console when opening an HDRP project with a freshly built "Library" folder and project path up to 20 characters shorter than the longest allowed by Unity Hub
Steps to reproduce:
1. Create a new "3D (HDRP)" template project (Editor version 6000.3.0f1) with a project path up to 20 characters shorter than the longest allowed by Unity Hub
2. Open the created project and wait for it to load
Expected result: The project opens with no errors
Actual result: The project opens with multiple errors related to HDRP Shader Graph and VFX Graph
Reproducible with: 6000.0.62f1, 6000.2.13f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a1
Reproduced on: Windows 10, Windows 11 Pro (24H2 and 25H2)
Not reproduced on: No other environment tested
Notes:
- Most of the errors are related to Shader Graphs and VFX Graphs
- Different Unity versions throw errors with different Shader Graphs, for example: 6000.3.0b2 throws errors related to HDRP “Hair <…>.shadersubgraph” Shader Graphs and 6000.3.0a1 throws errors related to “WaterSurfaceGradients.shadersubgraph” and “AutodeskInteractiveTransparent.ShaderGraph”
- The errors no longer appear after clearing the Console or reopening the project but they reappear if the “Library” folder is rebuilt
- Different Unity Editor versions have different thresholds for project path length that reproduces this issue (with 6000.3.0f1, the project path length + name length in total can be up to 20 characters shorter than the longest allowed by Unity Hub to reproduce the issue)
Error messages (6000.3.0b2):
DirectoryNotFoundException: Could not find a part of the path "<PROJECT PATH>\Library\PackageCache\com.unity.render-pipelines.high-definition@da150a241ed8\Runtime\RenderPipelineResources\ShaderGraph\Subgraph\Hair Coloration Along Length.shadersubgraph"
Asset import failed, "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Subgraph/Hair Coloration Along Length.shadersubgraph" > DirectoryNotFoundException: Could not find a part of the path "<PROJECT PATH>\Library\PackageCache\com.unity.render-pipelines.high-definition@da150a241ed8\Runtime\RenderPipelineResources\ShaderGraph\Subgraph\Hair Coloration Along Length.shadersubgraph"
DirectoryNotFoundException: Could not find a part of the path "<PROJECT PATH>\Library\PackageCache\com.unity.render-pipelines.high-definition@da150a241ed8\Runtime\RenderPipelineResources\ShaderGraph\Subgraph\Hair Card Recalculate Normal.shadersubgraph"
Asset import failed, "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Subgraph/Hair Card Recalculate Normal.shadersubgraph" > DirectoryNotFoundException: Could not find a part of the path "<PROJECT PATH>\Library\PackageCache\com.unity.render-pipelines.high-definition@da150a241ed8\Runtime\RenderPipelineResources\ShaderGraph\Subgraph\Hair Card Recalculate Normal.shadersubgraph"
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ShaderGraph.GraphData.CollectShaderKeywords (UnityEditor.ShaderGraph.KeywordCollector collector, UnityEditor.ShaderGraph.GenerationMode generationMode) (at ./Library/PackageCache/com.unity.shadergraph@9519d14e3dc3/Editor/Data/Graphs/GraphData.cs:1386)
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ShaderGraph.GraphData+<GetPromotedInputs>d__219.MoveNext () (at ./Library/PackageCache/com.unity.shadergraph@9519d14e3dc3/Editor/Data/Graphs/GraphData.cs:1402)
Asset import failed, "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Hair Physical.shadergraph" > NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ShaderGraph.GraphData+<GetPromotedInputs>d__219.MoveNext () (at ./Library/PackageCache/com.unity.shadergraph@9519d14e3dc3/Editor/Data/Graphs/GraphData.cs:1402)
Asset import failed, "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipelineResources/ShaderGraph/Hair Approximate.shadergraph" > NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ShaderGraph.GraphData+<GetPromotedInputs>d__219.MoveNext () (at ./Library/PackageCache/com.unity.shadergraph@9519d14e3dc3/Editor/Data/Graphs/GraphData.cs:1402)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment