Search Issue Tracker
Fixed
Votes
0
Found in [Package]
7.2.1
Issue ID
1228498
Regression
No
error CS0234: The type or namespace name 'ShaderGraph' does not exist in the namespace
How to reproduce:
1. Clear out your C:\Users\[username]\AppData\Local\Unity\cache\packages folder
2. Unzip the attached packages.unity.com.zip file into C:\Users\[username]\AppData\Local\Unity\cache\packages (should be cache\packages\packages.unity.com\...)
3. Open attached project "pactest.zip"
4. Observe the Console window
Expected result: no errors are thrown
Actual result: "Library\PackageCache\com.unity.visualeffectgraph@7.2.1\Editor\ShaderGraph\VFXShaderGraphParticleOutput.cs(6,19): error CS0234: The type or namespace name 'ShaderGraph' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)" is thrown
Reproducible with: 2018.4.19f1, 2019.3.6f1, 2020.1.0b3, 2020.2.0a4
Could not test with: 2017.4 (Shader Graph was not yet released)
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
mr_noodler
Oct 08, 2024 01:11
Where are the attachment files that I am supposed to run?
UnrealSoftware
Jun 18, 2023 10:19
I had the same issue after upgrading to Unity 2022.3.2f1 and trying to add URP via package manager to an existing project.
Was able to fix it by removing the C:\Users\[username]\AppData\Local\Unity\cache\packages folder.
Jason-King
Jan 27, 2022 04:08
I had this issue when I moved the source out of the Plugins folder into a separate folder - and only could be resolved by moving the code back into the Plugins folder.