Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: NaxIonz on August 07, 2017, 02:51:13 PM

Title: [Shader] Unlit Transparent Colored is Magenta in 3.11.4
Post by: NaxIonz on August 07, 2017, 02:51:13 PM
Just updated from 3.11.1 to 3.11.4 and noticed some quirks with the Unlit Transparent Colored shader. It draws everything Magenta, and even shows up as such in the inspector:

Title: Re: [Shader] Unlit Transparent Colored is Magenta in 3.11.4
Post by: NaxIonz on August 07, 2017, 03:16:37 PM
Forgot to add the console errors:
Title: Re: [Shader] Unlit Transparent Colored is Magenta in 3.11.4
Post by: NaxIonz on August 07, 2017, 03:20:42 PM
`UNITY_VERTEX_INPUT_INSTANCE_ID` should be `UNITY_INSTANCE_ID` in Unity 5.4

Looks like that seems to fix the error  ;)
Title: Re: [Shader] Unlit Transparent Colored is Magenta in 3.11.4
Post by: ArenMook on August 12, 2017, 12:25:22 PM
As always, officially NGUI supports only the latest version of each major Unity release -- meaning 4.7, 5.6 and 2017. Unity changed some shader defines, forcing shaders to auto-upgrade in Unity 5.5-5.6, making all projects opened with that version of Unity incompatible with the previous. It's not possible to change it back, because as soon as you tab back to Unity, it force-upgrades it again.