Hi,
Thanks for reaching my post.
I have ( NullReferenceException: Object reference not set to an instance of an object ) when ever I try to install the plugin to Unity (2021.2.0f1. I have another error inside shadergraph.
techsaby
I am also getting similar error for the shaders. Anyone knows how to fix it? I am using Unity version 2021.2.7f1.
GraphPrecision propGraphPrecision = prop.precision.ToGraphPrecision(graph.graphDefaultPrecision);
prop.precision
MaiAo
It appears that in recent versions, including 2.7f1, sub shader graph Properties without the Precision setting, such as Keyword, Dropdown, will cause the NullReferenceException error.
There is a line in Unity's ShaderSubGraphImporter.csthat referencesGraphPrecision propGraphPrecision = prop.precision.ToGraphPrecision(graph.graphDefaultPrecision);and likely that is causing issues with the Keyword and Dropdown properties present in VAT3 shaders.prop.precision
This error didn't exist with previous Unity versions. I'm in contact with Unity to see if they can fix this. I technically can implement a workaround by turning those precision-less properties into simple Booleans properties, but that is not ideal for performance.