Hello ! I'm testing the new Vertex Animation shaders for Unity LWRP and getting this issue.
When i import Gametools VAT LWRP shaders into Unity i'm getting this errors
Shader error in ‘sidefx/lwrp/VAT Fluid Simple Lit’: unrecognized identifier ‘posTex’ at Assets/SimpleLitVATFluidInput.hlsl(39) (on d3d11)
Shader error in ‘sidefx/lwrp/VAT Sprite Simple Lit’: unrecognized identifier ‘posTex’ at Assets/SimpleLitVATSpriteInput.hlsl(40) (on d3d11)
Shader error in ‘sidefx/lwrp/VAT Soft Simple Lit’: unrecognized identifier ‘posTex’ at Assets/SimpleLitVATSoftInput.hlsl(39) (on d3d11)
Shader error in ‘sidefx/lwrp/VAT RBD Simple Lit’: unrecognized identifier ‘posTex’ at Assets/SimpleLitVATRigidInput.hlsl(36) (on d3d11)
And when i try to create new material - there is no sidefx folder in shader selection list. All shaders found in Failed to Compile section.
Unity 2019.1.0f2 clean project
Windows 10 64
I Have Core RP, Lightweight RP and Shadergraph packages installed, LightweightRenderPipelineAsset created and assinged in project settings.
Can i get some help with this issue ? Maybe i'm doing something wrong ?
Thank you !!!
Vertex Animation shaders for Unity 2019 LWRP not working
5977 9 2- IceBar0n
- Member
- 12 posts
- Joined: June 2017
- Offline
- mikelyndon-sesi
- Member
- 394 posts
- Joined: May 2017
- Offline
- IceBar0n
- Member
- 12 posts
- Joined: June 2017
- Offline
Lines 25 and 26 looking like this
TEXTURE2D(_posTex);
SAMPLER(sampler_posTex);
Also tested on 2019.2.0a13 , seems that shader compiled, no errors, but vertex animation on my asset isnt working anyway..
I noticed he difference in package versions between 2019.1.0f2 and 2019.2.0a13
2019.1.0f2 package versions:
LWRP version 5.7.2
Core RP Library version 5.7.2
2019.2.0a13 package versions:
LWRP version 5.2.3
Core RP Library version 5.2.3
Maybe this will help to figure out whats causing the issue
TEXTURE2D(_posTex);
SAMPLER(sampler_posTex);
Also tested on 2019.2.0a13 , seems that shader compiled, no errors, but vertex animation on my asset isnt working anyway..
I noticed he difference in package versions between 2019.1.0f2 and 2019.2.0a13
2019.1.0f2 package versions:
LWRP version 5.7.2
Core RP Library version 5.7.2
2019.2.0a13 package versions:
LWRP version 5.2.3
Core RP Library version 5.2.3
Maybe this will help to figure out whats causing the issue
Edited by IceBar0n - April 25, 2019 10:13:22
- mikelyndon-sesi
- Member
- 394 posts
- Joined: May 2017
- Offline
- IceBar0n
- Member
- 12 posts
- Joined: June 2017
- Offline
Tried on fresh project.
Still not compiling, reinstalled Unity 2019.1.0f2 just in case and no luck…
UPDATE: Tried on another machine, the same problem.
I've recorded short video of what i'm doing step by step, hope this help.
video [vimeo.com]
I have a feeling that i'm doing something wrong, because you said that all working fine on your machine.
If so then my apologies in advance
UPDATE 2 Tried on Unity 2019.1.2f1 on 3 different computers and still no luck, the same errors
Thank you
Denis
Still not compiling, reinstalled Unity 2019.1.0f2 just in case and no luck…
UPDATE: Tried on another machine, the same problem.
I've recorded short video of what i'm doing step by step, hope this help.
video [vimeo.com]
I have a feeling that i'm doing something wrong, because you said that all working fine on your machine.
If so then my apologies in advance
UPDATE 2 Tried on Unity 2019.1.2f1 on 3 different computers and still no luck, the same errors
Thank you
Denis
Edited by IceBar0n - May 14, 2019 07:14:24
- mikelyndon-sesi
- Member
- 394 posts
- Joined: May 2017
- Offline
Unity changed their underlying code in 2019 which broke the VAT shaders. Try using this package [drive.google.com]
I've also updated the code in the github repo so there's source for Unity 2018 and 2019.
I've also updated the code in the github repo so there's source for Unity 2018 and 2019.
- mephistonight
- Member
- 4 posts
- Joined: March 2018
- Offline
- mikelyndon-sesi
- Member
- 394 posts
- Joined: May 2017
- Offline
- jordaneast
- Member
- 8 posts
- Joined: Feb. 2018
- Offline
- nehvaleem
- Member
- 1 posts
- Joined: Jan. 2020
- Offline
-
- Quick Links