Skip to content

"UniveresalCanvasSubTarget could not be found" after importing Shadergraph Support Sample in Unity 2022.3 #391

@Dunxter

Description

@Dunxter

Describe the bug
After importing the ShaderGraph Support (Unity 6 URP) in my Unity 2022.3.62f3 project, the following compilation error appears:
Assets\Samples\UI Effect\5.10.8\ShaderGraph Support (Unity 6 URP)\UniversalUIEffectSubTarget.cs(12,49): error CS0246: The type or namespace name 'UniversalCanvasSubTarget' could not be found (are you missing a using directive or an assembly reference?).

I'm wondering if only Unity 6 has support for the ShaderGraph Support Sample?

To Reproduce
Steps to reproduce the behavior:

  1. Start a 2022.3.62f3 Unity project
  2. Import the UI Effect package and all required dependencies
  3. Import the ShaderGraph Support (Unity 6 URP) sample

Expected behavior
Since there's not an specific Sample for Unity 2022 when it comes to ShaderGraph support, I was expecting this "ShaderGraph Support (Unity 6 URP)" Sample to work in my version (as UI Effect supports Unity 2022).

Environment (please complete the following information):

  • UI Effect 5.10.8
  • Platform: Windows Editor
  • Unity version: 2022.3.62f3
  • Build options: [e.g. IL2CPP, .Net 4.x, LWRP]

Thank you so much for your efforts and incredible package!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions