Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.0.23f1

6000.1.0a7

Issue ID

UUM-84036

Regression

Yes

Feature Examples - Sub Graph error - Source file does not exist if reimporting sample

-

*Steps to reproduce:*
# Create a new URP project
# Window > Package Manager > ShaderGraph > Samples
# Import Feature Samples
# Delete the Feature Samples folder
# Reimport Feature Samples

*Actual results:* 

 
{code:java}
Sub Graph at Assets/Samples/Shader Graph/17.0.3/Feature Examples/Custom Lighting/MainLight.shadersubgraph has 1 error(s), the first is: Validation: Source file does not exist. A valid .hlsl, .cginc, or .cg file must be referenced
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&){code}
 

*Expected results:* No error

*Reproducible with versions:*
* 6000.0.23f1, 6000.0.22f1 - only this error occurs
* 6000.0.21f1, 6000.0.5f1 - this error occurs alongside multiple others

*Not reproducible with versions:*
* 6000.0.4f1 - different errors on import, no errors on re-import
* 6000.0.0b16, 2022.3.49f1 - no errors

*Can't test with versions:*  2021.3, not supported on Ubuntu 24.04

*Tested on (OS):* Ubuntu 24.04

  1. Resolution Note:

    User can very easily avoid this error by deleting the Samples folder instead of deleting the Feature Examples folder.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.