Skip to content

An error occurs in OpenGL/Vulkan only #5

Description

@jiaozi158

I am currently using Unity 2021.2.0f1 ( URP 12.1 ).

( If not excluding the OpenGL Core and ES 3 API. )
image

There will be a compilation error when using OpenGL Core/Vulkan as target Graphics API.
image

But after deleting this structure in Common.hlsl, the error disappears. The shader ( tested Fin only ) works as expected.
image

I cannot find out which line occurs the error.
Can this error be fixed?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions