1685 Commits

Author SHA1 Message Date
Harald Csaszar
938a8c8369 [unity] Fixed SkeletonGraphic Mesh memory leak. Closes #1887. 2021-05-07 20:50:01 +02:00
Harald Csaszar
40836e1917 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:06:14 +02:00
Harald Csaszar
5cb54bdf9c [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-30 18:06:14 +02:00
Harald Csaszar
5231b4f713 [unity] Prevent null reference exception when using Advanced - Fix Draw Order and disabling the renderer and/or GameObject. 2021-04-30 18:06:14 +02:00
Harald Csaszar
700e316e57 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:02:37 +02:00
Harald Csaszar
25d7f8266f [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-28 19:54:48 +02:00
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
204f8672ed Merge branch '3.8' into 4.0-beta 2021-04-21 20:33:49 +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
d146a81d21 [unity] SkeletonRagdoll components now support bone scale at any bone in the skeleton hierarchy, including negative scale and root bone scale. Closes #1879. 2021-04-20 18:18:20 +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
1211c2a345 Merge branch '3.8' into 4.0-beta 2021-04-09 17:32:26 +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
30d1e856a9 Merge branch '3.8' into 4.0-beta 2021-04-09 17:19:47 +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
02f87a0f9f [unity] All lit shaders now provide an additional parameter Light Affects Additive which defaults to false. This re-introduces flexibility taken away in commit aa46f411. See #1301. 2021-04-07 19:54:08 +02:00
Harald Csaszar
3f9577b5ac [unity] Applied similar optimizing changes to 3.8 commit 3fdbf9a0 (changing new List<> allocation to shared static instance). 2021-04-06 21:40:22 +02:00
Harald Csaszar
bcca63f8f8 [unity] re-applied 3.8 commit 3fdbf9a0 (after reverting merge changes). 2021-04-06 21:36:10 +02:00
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
1d2cad34a3 [unity] Fixed incorrect Timeline flip clip state when paused. Closes #1865. 2021-03-23 19:35:27 +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
285da8c43f Merge branch '3.8' into 4.0-beta 2021-03-19 18:24:04 +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
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