1450 Commits

Author SHA1 Message Date
Harald Csaszar
c9e52024f5 Merge branch '3.8' into 4.0-beta 2021-03-19 16:15:39 +01:00
Harald Csaszar
0fb0b065d7 [unity] Fixed SkeletonMecanim BlendTree animations being incorrectly applied on WebGL. Was numeric problem of weight == 0 and actual weight being e.g. 1.1E-15. Closes #1862. 2021-03-19 16:10:42 +01:00
Harald Csaszar
bb0a4f6998 [unity] Fixed error message output behaviour in SkeletonRenderer.Initialize when quiet is set (quiet logic was just plain wrong). 2021-03-18 17:03:03 +01:00
Harald Csaszar
417388d2e7 [unity] Now detecting and warning when binary or json file has been exported with the opposite ending. Improved loading error reporting behaviour. Closes #1857. 2021-03-16 15:09:04 +01:00
Harald Csaszar
3b5f0b1c35 Merge branch '3.8' into 4.0-beta 2021-03-10 14:50:38 +01:00
Harald Csaszar
305bb21615 [unity] minor: increased Timeline UPM package version number since dependency versions were increased in last commit. 2021-03-10 14:48:50 +01:00
Harald Csaszar
6c34d1f0a0 [unity] Fixed Timeline track displaying None as SkeletonAnimation reference on Unity 2020.1+. Fixed by increasing minimum Timeline dependency version to 1.2.10 (still compatible with the same Unity versions), as this issue shows only until 1.2.9. Closes #1855. 2021-03-10 14:42:04 +01:00
Harald Csaszar
7cd2c12443 [unity] Fixed SkeletonGraphic Skeleton property not calling Initialize(), as SkeletonRenderer does. Closes #1858. 2021-03-09 12:06:02 +01:00
Harald Csaszar
055a2d993d [unity] Fixed incorrect warnings being issued at unused leftover PMA material keyword. Now when the keyword is unused, no warning is issued. Closes #1856. 2021-03-08 18:09:31 +01:00
Harald Csaszar
2a3d5245d9 [unity] Added null check for SkeletonRenderer.GenerateMeshOverride as reported on the forum. 2021-03-08 12:52:15 +01:00
Harald Csaszar
b6793b9a9d [unity] Fixed Sprite shaders incorrectly applying PMA vertex colors again in Premultiply Alpha blend mode. Closes #1854. 2021-03-04 18:55:57 +01:00
Harald Csaszar
bd6a4df888 [unity] Updated UPM package version numbers in package.json description files. 2021-03-04 18:42:45 +01:00
Harald Csaszar
4a43174bce Merge branch '3.8' into 4.0-beta 2021-03-04 18:36:22 +01:00
Harald Csaszar
07b7b9371c [unity] Increased UPM package versions for changes of last commit d50cdef. 2021-03-04 18:31:18 +01:00
Harald Csaszar
d50cdef325 [unity] Corrected and unified Additive Slot behaviour of commit c5c7174 for URP and LWRP shaders (2D and 3D). Now only active for PMA blending and correctly performing alpha clip. See #1850. 2021-03-04 17:47:48 +01:00
Harald Csaszar
47e357aa88 [unity] Fixed Spine/Sprite core shaders now correctly drawing Additive Slots. Closes #1853. 2021-03-04 17:25:19 +01:00
Harald Csaszar
c5c71747c3 [unity] Fixed single pass additive slot blend mode for all URP and LWRP shaders (2D and 3D). Closes #1850. 2021-03-03 20:18:35 +01:00
Harald Csaszar
16e3de63cc [unity] NewSkeletonAnimationGameObject and Initialize() now provide a quiet parameter to omit material warnings. Closes #1852. 2021-03-03 17:07:42 +01:00
Harald Csaszar
b5a7601a41 [unity] Fixed atlas asset problems after re-export with latest 4.0 Spine Editor beta version. 2021-03-02 15:57:28 +01:00
Harald Csaszar
7ea2f19836 [unity] GetRemappedClone caused incorrect results at 270 degree roated MeshAttachments. See #1847. 2021-03-01 17:27:00 +01:00
badlogic
688d855006 [runtimes] Updated examples with Editor version 4.0.58-beta. 2021-03-01 10:05:26 +01:00
Harald Csaszar
f85907965c Merge branch '3.8' into 4.0-beta 2021-02-22 20:47:32 +01:00
Harald Csaszar
38d8a1362a [unity] Fixed GetRepackedSkin supporting 270 degree rotation of MeshAttachments (new atlas format, when packed with mode Polygons). Closes #1847. 2021-02-22 20:42:57 +01:00
Harald Csaszar
4a0b30dd2f [unity] Fixed URP and LWRP shaders Sprite and SkeletonLit not handling shadows correctly after 180 degree rotation (normal needs to be flipped for bias direction). Now URP shaders no longer require Advanced - Add Normals enabled to receive shadows. Closes #1842. 2021-02-17 20:16:56 +01:00
Harald Csaszar
1163142ba8 [unity] Fixed URP and LWRP SkeletonLit shader not receiving shadows. Closes #1840. Now another known issue of the Sprite shader is surfacing, not handling shadows correctly when rotated 180 degrees (see #1842). 2021-02-17 19:21:50 +01:00
Harald Csaszar
ad0cbe21ba Merge branch '3.8' into 4.0-beta 2021-02-16 20:01:25 +01:00
Harald Csaszar
30906eabdc [unity] BoneFollower property pair followScale and followScaleMode are reverted back to followLocalScale. Automatically updates serialized values. Reverts changes by commit cdcdb64 which no longer provide any benefits. 2021-02-12 19:57:01 +01:00
Harald Csaszar
bce5500290 [unity] SkeletonAnimation inspector exception bugfix. Occurred when switching assigned SkeletonDataAsset from an invalid to a valid one. 2021-02-11 20:26:25 +01:00
Harald Csaszar
f9c81e9040 Merge branch '3.8' into 4.0-beta 2021-02-11 19:38:49 +01:00
Harald Csaszar
3bf9c3508f [unity] Fixed BoneFollower and BoneFollowerGraphic not reacting correctly to parent Transform rotation, as well as to negative Transform scale of a non-parent skeleton Transform. Closes #1837. 2021-02-11 17:48:53 +01:00
Harald Csaszar
e5c47852cc Merge branch '3.8' into 4.0-beta 2021-02-03 22:29:39 +01:00
Harald Csaszar
511c05a3c7 [unity] Fixed SkeletonAnimation Inspector code causing incorrect animation playback. Closes #1841. 2021-02-03 22:28:28 +01:00
Harald Csaszar
8908cdd15c [unity] URP Sprite shader now allows Receive Shadow option when Write to Depth is disabled. This option has been greyed out unnecessarily. Closes #1839. 2021-02-03 18:25:27 +01:00
Harald Csaszar
df9776addf Merge branch '3.8' into 4.0-beta 2021-01-29 13:10:53 +01:00
Harald Csaszar
48470a4b16 [unity] Fixed two minor reported issues (could not be reproduced by user). Now officially supporting Unity versions 2020.1 and 2020.2 with this commit. Closes #1835. 2021-01-29 13:07:22 +01:00
Harald Csaszar
3a437b79b0 [unity] Minor cosmetic change: moved Spine Preferences window Additive Material line up to maintain same order as in SkeletonDataAsset. 2021-01-22 16:55:07 +01:00
Harald Csaszar
6d6de76cda [unity] Upgrade of BlendModeMaterialAssets is performed for all Unity versions in spine-unity 4.0 an newer. See commit 752e72e, see #1822, see #1559. 2021-01-22 11:18:43 +01:00
Harald Csaszar
6e2e46e198 Merge branch '3.8' into 4.0-beta 2021-01-22 11:11:20 +01:00
Harald Csaszar
752e72eb8f [unity] Added native support for slot blend modes Additive, Multiply and Screen with automatic assignment at newly imported skeleton assets. Added upgrade functionality. Closes #1822, closes #1559. 2021-01-22 11:05:41 +01:00
Harald Csaszar
dbb10f36f6 Merge branch '3.8' into 4.0-beta 2021-01-21 14:54:00 +01:00
Harald Csaszar
110581abea [unity] Changing AnimationName in the SkeletonAnimation Inspector now updates every time. Now also repaints GameView accordingly, for both animation and skin changes. Closes #1832. 2021-01-21 13:07:02 +01:00
Harald Csaszar
60b52cb36a [unity] Fixed SkeletonRagdoll and SkeletonRagdoll2D behaving incorrectly when any Transforms are scaled. Closes #1831. 2021-01-19 18:14:52 +01:00
Harald Csaszar
1f76074e62 [unity] Added hint about RectTransform bounds to "Skeleton Graphic" example scene to prevent problems. 2021-01-18 18:31:07 +01:00
Harald Csaszar
c84e0328f1 Merge branch '3.8' into 4.0-beta 2021-01-11 15:11:41 +01:00
Harald Csaszar
2039efc5b7 [unity] Fixed a bug introduced in previous commit 82a0de8, was not handling not-yet added RawImage components at additional CanvasRenderers. See #1826. 2021-01-08 19:28:32 +01:00
Harald Csaszar
82a0de85bc [unity] Fixed SkeletonGraphic with multiple materials displaying white square and issuing error when number of renderers changes in SkeletonGraphic.Rebuild. Closes #1826. 2021-01-08 17:59:18 +01:00
Harald Csaszar
e95e130e9b [unity] Changed implementation of previous bugfix commit ab91a35 of Editor error messages upon startup. Uses less code and executes a bit earlier. See #1779. 2021-01-07 20:52:14 +01:00
Harald Csaszar
ab91a3539d [unity] Fixed Editor error messages upon startup, most likely due to AssetDatabase not being fully initialized (Unity 2020.2). Closes #1779. 2021-01-07 20:25:01 +01:00
Harald Csaszar
a7f629f504 [unity] Fixed BoneFollowerGraphic silently failing at Transform instead of RectTransform by requiring component RectTransform. Closes #1828. 2021-01-07 16:20:19 +01:00
Harald Csaszar
bbae2d9ed4 Merge branch '3.8' into 4.0-beta 2020-12-22 17:21:32 +01:00