Tessellation Bug Report

Node-based Shader Editor
illinar
Posts: 13
Joined: Thu May 04, 2017 4:33 pm

Re: Tessellation Bug Report

Post by illinar »

All my tesselation shaders stopped working and are now returning this error. Any type of tesselation even on new empty shaders. They worked fine, then this started and no reinstalling amplify or reloading or recompiling helped. No idea what caused it. I don't even think I changed any project settings for it to happen.

Code: Select all

		void vertexDataFunc( inout appdata_full v )
		{
		}

Code: Select all

Shader error in 'Skin': 'vertexDataFunc': output parameter 'v' not completely initialized at line 32 (on d3d11)
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Tessellation Bug Report

Post by Amplify_Borba »

illinar wrote:All my tesselation shaders stopped working and are now returning this error. Any type of tesselation even on new empty shaders. They worked fine, then this started and no reinstalling amplify or reloading or recompiling helped. No idea what caused it. I don't even think I changed any project settings for it to happen.

Code: Select all

		void vertexDataFunc( inout appdata_full v )
		{
		}

Code: Select all

Shader error in 'Skin': 'vertexDataFunc': output parameter 'v' not completely initialized at line 32 (on d3d11)
Hello illinar, thank you for getting in touch.

Could you please replicate the following steps in the specified order and report back if the problem is fixed?

- Turn Tessellation and Instancing off in the shader
- Turn Instancing off in the material(s) that us the shader
- Compile the shader
- Turn Tessellation on in the shader
- Compile the shader again

This in a Unity requirement as you can't have instancing with Tessellation, unfortunately there's no other workaround available at the moment other than this procedure.

Looking forward to your reply!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
illinar
Posts: 13
Joined: Thu May 04, 2017 4:33 pm

Re: Tessellation Bug Report

Post by illinar »

Thank you very much that worked.
Post Reply