1868 Commits

Author SHA1 Message Date
Harald Csaszar
598d257b2d [unity] Fixed committed conflict markers (reverted to state beforehand). 2021-04-06 21:18:57 +02:00
badlogic
01902e2393 Merge branch '3.8' into 4.0-beta 2021-04-06 19:05:52 +02:00
Harald Csaszar
97b3f3058b [unity] Added RootMotionDeltaCompensation example component demonstrating simple root motion delta compensation. See #1873. 2021-04-06 17:44:50 +02:00
Harald Csaszar
3fdbf9a061 [unity] Reduced GC footprint of GetRepackedSkin() by reusing static Lists. Closes #1872. 2021-04-02 15:00:32 +02:00
Harald Csaszar
a24c6600f5 [unity] Fixed previous commit not compiling in Unity 2017 due to Vector2.operator* not being supported yet (commit 2bc8827). See #1871. 2021-04-02 12:45:55 +02:00
Harald Csaszar
2bc88270d4 [unity] Fixed Texture 'Max Size' setting causing incorrect image regions (e.g. in repack operations). Closes #1871. 2021-04-02 12:25:23 +02:00
Harald Csaszar
2b21c8f8d2 Merge branch '3.8' into 4.0-beta 2021-04-02 10:22:34 +02:00
Harald Csaszar
1d2df65008 [unity] Improved binary vs json file detection upon skeleton import checks, should fix a reported (potentially asian locale related) issue. Closes #1867. 2021-04-02 09:29:17 +02:00
Harald Csaszar
aa46f411ab [unity] Made all shaders (including URP and LWRP shaders) compatible with Linear Color Space. Closes #1301. 2021-03-31 20:44:45 +02:00
Harald Csaszar
4fb6a7f535 Merge branch '3.8' into 4.0-beta 2021-03-24 19:28:22 +01:00
Harald Csaszar
fdd3a663ef [unity] Fixed binary .skel.bytes file incorrectly being reported as .json (and import being aborted). Closes #1867. 2021-03-24 19:27:15 +01:00
Harald Csaszar
20e6eedc16 [unity] Fixed Outline shaders 4 and 8 neighbourhood outline thickness consistency. There was an obvious bug in the shader, dividing through the wrong number of samples. Closes #1864. 2021-03-23 16:24:53 +01:00
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
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
4a43174bce Merge branch '3.8' into 4.0-beta 2021-03-04 18:36:22 +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
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
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