decoamorim Hi Harald ,
It seems that the page I am being redirected in your "this one" link, is the same as your previous link provided. Gonna run it again to be 100%.
Yes, because this is the one bugfix commit which I recommend porting to your older 3.8 package. Since your received error messages which are from another shader file than the files that are modified by the referenced commit, I pointed you to the same commit again, since something seems to have gone wrong with integrating the changes the first time.
decoamorim But at the moment I am updating the project to 4.0, this already solved the lighting issue. Because we have a lot os spine files to export, this was my last option. Can you confirm if the below is expected when updating to 4.0:
Glad to hear you are going with updating your Spine and spine-unity runtime version!
Regarding the atlas name: It defaults to the filename, however you can set a custom name when exporting or packing via the Command Line Interface (CLI):
http://en.esotericsoftware.com/spine-command-line-interface#Pack
In general we very much recommend setting up scripts for automated export, as this allows you to re-export all your skeletons with one go, instead of tedious manual work.
You can find spine-unity upgrade guides for 3.8 to 4.0 and 4.0 to 4.1 here, as well as two links on setting up a command line export script:
http://esotericsoftware.com/spine-unity#Updating-the-spine-unity-Runtime
decoamorim We are moving forward updating to spine 4.0 or maybe 4.1.
For that I dont need to update each file twice, correct? After updating Unity, just have to export all Spine files to 4.1?
Exactly, you can open and export your 3.8 Spine project in 4.1 and export it from there in one go, there is no need to open the 3.8 project in Spine 4.0, save it and then open it in Spine 4.1.
You can also replace the spine-unity 3.8 runtime directly with the 4.1 runtime (be sure to remove the 3.8 runtime first as described in the documentation). You just need to perform the modifications of your own code according to the upgrade steps described in "Adapting your code to 4.0 API changes" and "Adapting your code to 4.1 API changes" in the upgrade guides below, one after another:
https://esotericsoftware.com/forum/d/15981-spine-unity-38-to-40-upgrade-guide
https://esotericsoftware.com/forum/d/17699-spine-unity-40-to-41-upgrade-guide