477 Commits

Author SHA1 Message Date
Harald Csaszar
193882f2c6 [unity] BoneFollower and BoneFollowerGraphic now provide an additional Follow Parent World Scale parameter. 2021-12-15 16:52:14 +01:00
Harald Csaszar
b1e81fc1b2 Merge branch '4.0' into 4.1-beta 2021-11-10 19:34:19 +01:00
Harald Csaszar
42142a4561 [unity] Minor importer improvement: Fixed required atlas region list containing duplicates. 2021-11-10 16:29:28 +01:00
Harald Csaszar
618e20dc9a [Unity] Fixed Initial Flip not updating mesh in Editor mode. Closes #1953. 2021-11-09 20:06:16 +01:00
Harald Csaszar
8a83d9aabe Merge branch '4.0' into 4.1-beta 2021-11-08 18:23:05 +01:00
Vladislav Hristov
9c106ca5f5 Fix skleton mesh "Identifier uniqueness violation" warning
To remove the warning a new unique name is created for each mesh, where
an index is added after the renderer name.

Closes #1973
2021-11-07 14:56:54 +02:00
Harald Csaszar
df3ec19252 [csharp][unity] Fixed formatting of previous commit 3250e74 "Port sequence attachment." See #1956. 2021-11-03 15:38:41 +01:00
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Harald Csaszar
4785dcc212 [unity] Fixed null reference exceptions after changes from compile-error bugfix commit 8770e319, see #1951. 2021-09-15 18:25:12 +02:00
Harald Csaszar
91f7969cdc [csharp][unity] Adjusted spine-csharp and dependent modules to being used as separate UPM packages. See #1676. 2021-09-14 17:12:50 +02:00
Harald Csaszar
8770e319c5 [unity] Fixed compile errors introduced by removed FindSlotIndex and FindBoneIndex methods. See commit dc9a6eb, see #1951. 2021-09-13 17:04:23 +02:00
Harald Csaszar
83b50f265e [unity] Added missing usedByEffector and usedByComposite parameters at BoundingBoxFollower components. 2021-09-07 15:32:17 +02:00
Harald Csaszar
6cd3e54b83 [unity] Fixed SkeletonGraphic with Multiple Canvas Renderers ignoring Mask when CustomMaterialOverride or blend modes are active. Closes #1948. 2021-08-31 17:52:20 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Harald Csaszar
32449a3b4d [unity] SkeletonRootMotion component now offers a paramter to apply Rigidbody2D gravity. Defaults to false to keep existing behaviour. Closes #1941. 2021-08-16 18:17:19 +02:00
Harald Csaszar
326e4f8b01 [unity] Fixed a null reference exception in AnimationReferenceAsset inspector code when SkeletonData at the asset is null (e.g. when no json file is assigned). 2021-08-12 17:28:15 +02:00
Harald Csaszar
e321488949 [unity] Fixes a warning when re-importing a prefab (introduced by commit 4a9f7b8a). Added a null check. See #1273, #1931. 2021-08-06 16:48:51 +02:00
Vladislav Hristov
4a9f7b8a7b [unity] Implement build preprocessor for prefabs cleanup
With the new prefab processing there is an issue where the mesh tries to
get into the build. To prevent this a build pre/post process is
introduced that will clean up the prefab from the meshes before the
build and restore the prefab meshes after the build.

This change reverts bf70a62f1 and is related to #1273,#1931.
2021-08-06 11:29:01 +03:00
Harald Csaszar
bf70a62f1b [unity] Fixed a build error when prefab is referenced. See commit c2cbdc57. See #1273,#1931. 2021-08-05 17:20:55 +02:00
Nathan Sweet
7d6cdcd9d8 Applied oxipng. 2021-08-04 18:44:16 -04:00
Harald Csaszar
c2cbdc57b7 [unity] Support for prefab preview thumbnails. See #1931. Fixes prefab instance always listing MeshFilter as changed (via parameter Advanced - Fix Prefab Override MeshFilter, see changelog). Closes #1273. 2021-08-04 20:18:37 +02:00
Harald Csaszar
60e67017e6 [unity] Added SkeletonGraphic blend modes support including new shaders and materials (Advanced - Multiple CanvasRenderers must be enabled). Closes #1316. 2021-07-27 17:03:40 +02:00
Harald Csaszar
2b3d395e51 [unity] Removed limitation of not importing assets from the Packages directory which caused problems on Unity 2019.1, but no longer on 2019.4. Closes #1924. 2021-07-14 12:36:51 +02:00
Harald Csaszar
490ca753c9 Merge branch '3.8' into 4.0 2021-07-02 17:46:26 +02:00
Harald Csaszar
52ecc9349c [unity] Fixed Timeline and AnimationReferenceAsset in general not updating animations after skeleton asset updated. Closes #1915. 2021-07-02 17:44:30 +02:00
Harald Csaszar
bb239c326e Merge branch '3.8' into 4.0-beta 2021-05-25 17:25:58 +02:00
Harald Csaszar
fab2b6e4ce [unity] Hopefully fixed Spine Preferences textureSettingsReference setting changing between MacOS and Win. See #1895. 2021-05-25 17:22:08 +02:00
Harald Csaszar
49926fc32a Merge branch '3.8' into 4.0-beta 2021-05-19 17:57:50 +02:00
Harald Csaszar
844c614a8c [unity] Fixed error message on entering Play mode when AnimationReferenceAsset selected. Closes #1892. Fixed NullReferenceException from SkeletonDataPreview timeline bar on entering Play mode. Closes #1893. 2021-05-19 17:54:50 +02:00
Harald Csaszar
af159db63a Merge branch '3.8' into 4.0-beta 2021-05-14 18:05:01 +02:00
Harald Csaszar
c950dff9aa [unity] Fixed blend mode materials not being generated upon first import. Closes #1891. 2021-05-14 18:04:01 +02:00
Harald Csaszar
204f8672ed Merge branch '3.8' into 4.0-beta 2021-04-21 20:33:49 +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
30d1e856a9 Merge branch '3.8' into 4.0-beta 2021-04-09 17:19:47 +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
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
c9e52024f5 Merge branch '3.8' into 4.0-beta 2021-03-19 16:15:39 +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
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