Just spent an hour in confusion as to why all my scripts are creating incorrect materials, turns out it’s the new emission strength parameter that’s changed all of the principled node’s socket indexes.
Would it be a better idea to always give new parameters an unused sockect ID? For example in this case emission strength should have been given socket ID 22.
If the visual order is dependant on the socket ID, then perhaps it could be decoupled?
Either way, scripts that use both socket name or ID could be catered for if new parameters used previously unused ID’s no?