Harald Csaszar
1e888db53a
[unity] Prevent null reference exception when using Advanced - Fix Draw Order and disabling the renderer and/or GameObject.
2021-04-22 11:45:58 +02:00
Harald Csaszar
e425d64d2c
[unity] Fixed RootMotion scripts in combination with Rigidbody components. Now works smoothly. Closes #1880 .
2021-04-21 20:27:52 +02:00
Harald Csaszar
692eed3a75
[unity] Root motion delta compensation now allows to add translation root motion to e.g. adjust a horizontal jump upwards or downwards. Fixed delta compensation to also respect any Skeleton-, Transform- or parent Bone scale. See #1876 .
2021-04-14 17:56:59 +02:00
Harald Csaszar
dd7c3b1bcc
[unity] Root motion delta compensation now allows to only adjust X or Y components instead of both. See #1876 .
2021-04-12 17:31:00 +02:00
Harald Csaszar
7782b01cdf
[unity] Fixed a compile error occurring only on Unity 2017, Vector2 not supporting operator* (introduced by commit 758a83a). See #1876 .
2021-04-09 17:30:55 +02:00
Harald Csaszar
758a83ac96
[unity] SkeletonRootMotion components now support arbitrary bones in the hierarchy as Root Motion Bone. Now supporting arbitrary Skeleton.ScaleX/Y and parent bone scale. Closes #1876 .
2021-04-09 17:15:45 +02:00
Harald Csaszar
6c40624d5e
[unity] Set Mipmap Bias was not persisted on recent Unity versions. Closes #1877 .
2021-04-08 19:17:46 +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
badlogic
748a03c7d7
[ts] Fix for NaN bounds
...
This is a temporary fix. Customer send reproduction sample. A slot has a mesh and corresponding deform. The number of vertices in the mesh is != the number of vertices in the deform, resulting in NaNs, which propagate to the bounds calculation of the web player. It is unclear how the mesh and deform can have a different number of vertices.
2021-04-06 14:13:04 +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
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
1057889c21
[xna][monogame] Fixed examples using incorrect time update, leading to jittery playback. Closes #1868 .
2021-03-26 09:49:19 +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
cd3b9816c2
[xna] Fixed an example shader fx compile error (occurring under some setups) at a pow() call.
2021-03-22 15:16:43 +01:00
Harald Csaszar
26b6d0816c
[unity] Timeline flip track now displays Flip X/Y in track editor instead of class name. Closes #1863 .
2021-03-19 18:18:01 +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
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
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
7ea2f19836
[unity] GetRemappedClone caused incorrect results at 270 degree roated MeshAttachments. See #1847 .
2021-03-01 17:27:00 +01:00
Harald Csaszar
2112d7f6f5
[cpp] Fixed SkeletonBinary access violation if atlas and skeleton data mismatch (when attachment not found). Closes #1849 .
2021-02-25 11:58:40 +01:00
Harald Csaszar
0e5d7adf1c
[ue4] Added preview skin / initial skin functionality for USpineWidget. Closes #1845 .
2021-02-25 11:58:40 +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
e9f900c333
[cpp] Fixed shadow declaration warnings. Closes #1808 .
2021-02-16 19:59:28 +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
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
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
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
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
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
9032040503
[ue4] Generated normals are now correctly being flipped at back-faces. Closes #1830 .
2021-01-14 20:42:43 +01:00
Harald Csaszar
a088270186
[ue4] Modifying parent materials (of the four blend modes) updates material instances again. Closes #1791 .
2021-01-12 20:18:23 +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