For some weird reason when I try to define the following color:
[HDR] _EmissionColor("Emission Color", Color) = (0, 0, 0)
In the instancing buffer:
UNITY_INSTANCING_BUFFER_START(Props)
UNITY_DEFINE_INSTANCED_PROP(half, _AlphaCutout)
UNITY_DEFINE_INSTANCED_PROP(half, _NormalCutout)
UNITY_DEFINE_INSTANCED_PROP(half, _NormalAppliance)
UNITY_DEFINE_INSTANCED_PROP(half4, _Color)
//UNITY_DEFINE_INSTANCED_PROP(half4, _EmissionColor)
UNITY_INSTANCING_BUFFER_END(Props)
Once I uncomment that half4 _EmissionColor line my Unity Editor simply crashes. What am I doing wrong?
I’ve also tried float4 with same result.
This is on Unity v. 2018.2.3f1