Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property (_VertexBufferPosition) at kernel index (0) is not set #72

Open
cnzipper opened this issue Aug 31, 2023 · 1 comment
Open

Property (_VertexBufferPosition) at kernel index (0) is not set #72

cnzipper opened this issue Aug 31, 2023 · 1 comment
Labels
redirect Issue that needs to be redirected

Comments

@cnzipper
Copy link

I've been trying to get the High Quality Line Renderer to work but I don't have any success.
I get the following error:

Compute shader (ComputeShader-VertexSetup): Property (_VertexBufferPosition) at kernel index (0) is not set UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

Decals are activated in the project, so this is not the reason for the error.
I tried the following with Unity 2023.2.0a22 and Unity 2023.1.10f1 (same problem with both versions):

  1. Created a fresh new "3D (HDRP) Core" Project

  2. Installed the Hair System Package in the Package Manager using this link: "https://github.com/Unity-Technologies/com.unity.demoteam.hair.git"

  3. Installed the "Minimal HairSample" from the Package Manager

  4. Checked that "High Quality Line Rendering" is activated in Edit>Project Settings>Graphics>HDRP Global Settings>Camera>Rendering

  5. Checked that "High Quality Line Rendering" is activated in Edit>Project Settings>Quality>HDRP for all Presets (HDRP Balanced, HDRP High Fidelity, HDRP Performant, HDRenderPipelineAssets)

  6. In the Scene Volume of the Sample Scene I added an Override with "High Quality Line Rendering: Enabled"

  7. In the "Hair Instance" Component of the Scene I set SettingsSystem>StrandRenderer to HDRP High Quality Lines

  8. I get the error message and the Hair isn't rendered anymore - this happens even, when I replace the Hair Shader with a custom Material with "High Quality Lines Support" activated in the shader. I even tried replacing the Shader with the Hair Shader from the Enemies Demo - same problem. I also checked that Decals are activated - still not working.

Am I missing something? I am thankful about every answer!!

When I open the Enemies Demo Project, the High Quality Line Renderer works there, but not in a fresh Unity Project!

My System:
CPU 11th Gen Intel Core-i9-11980HK
GPU Nvidia Geforce RTX 3080 Laptop
Windows 11

@hh455695642
Copy link

I also encountered the same problem

@fuglsang fuglsang added the redirect Issue that needs to be redirected label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redirect Issue that needs to be redirected
Projects
None yet
Development

No branches or pull requests

3 participants