1630 Commits

Author SHA1 Message Date
Harald Csaszar
4b42f23fc4 [unity] Fixed incorrect rendering of OutlineOnly shader in URP with HDR option enabled. Closes #2001. 2021-12-10 16:04:08 +01:00
Harald Csaszar
3025b370f5 [Unity] Fixed MaterialChecks to correctly check for Sprite material settings. Closes pull request #2000. 2021-12-09 18:56:26 +01:00
Harald Csaszar
bb7804ac9e [unity] Fixed root motion components ignoring split translate timelines. Closes #1997. 2021-12-07 19:16:28 +01:00
Harald Csaszar
7db783c660 [unity] Timeline: Added editor warning when SpineAnimationStateTrack 'Track Index' is identical to target 'Track Index' of other track. 2021-11-29 19:36:48 +01:00
Harald Csaszar
9dfd69e49d [unity] Fixed json files starting with array brackets not being detected as json. Closes #1992. 2021-11-24 15:00:13 +01:00
Harald Csaszar
ac9c83f7d7 [unity] Added missing license header to test class. 2021-11-22 19:30:24 +01:00
Harald Csaszar
d1b1e32bbf [unity][csharp] Minor cleanup of last commit. 2021-11-22 19:25:21 +01:00
Harald Csaszar
3b061eaa5f [unity][csharp] Moved automated tests out of the spine-unity Assets directory to a UPM package (to prevent potential compile errors upon incomplete setup). Updated spine-csharp tests to be usable as a UPM package. 2021-11-22 19:12:18 +01:00
Harald Csaszar
506a1abf53 [unity] Fixed extension method VertexAttachment.GetLocalVertices ignoring deform timelines. Closes #1990. 2021-11-15 16:12:11 +01:00
Harald Csaszar
fe635d9a79 [unity] Minor cosmetic: updated GameObject name in example scene according to changed example script name in commit 1517ffcd. 2021-11-11 17:33:03 +01:00
Harald Csaszar
a67fd18293 [unity] Fixed NaN issue when SkeletonGraphic.MatchRectTransform() is called after manual Initialize() without following Update(0). 2021-11-11 15:09:22 +01:00
Harald Csaszar
a182cdb169 [unity] Fixed MeshGenerator not updating triangle indices when inactive bone implicitly clears attachment. Closes #1984. 2021-11-10 19:32:52 +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
1517ffcde4 [unity] Renamed example script DataAssetsFromExportsExample to RuntimeLoadFromExportsExample and performed minor cleanup. 2021-11-10 11:03:23 +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
ead89c9c35 [unity] Fixed a Timeline bug (not pausing) when Don't end at clip end is enabled and PlayableDirector.pause is called. Closes #1980. 2021-11-09 17:39:13 +01:00
Harald Csaszar
d3a2a65513
Merge pull request #1981 from vhristov/fix_1973
[unity] Fix skleton mesh "Identifier uniqueness violation" warning
2021-11-08 18:19:50 +01:00
Harald Csaszar
2c535b65c7 [unity] Fixed SkeletonGraphic RectTransform bounds not being applied at submeshes in match call. Closes #1983. 2021-11-08 17:20:37 +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
c94cad7403 [unity] Minor: formatting fixes. 2021-11-03 20:03:49 +01:00
Harald Csaszar
e11dea1497 [unity] Minor refactoring: renamed a preprocessor constant. 2021-11-03 19:57:14 +01:00
Harald Csaszar
69460f3bd6 [unity] Fixed SkeletonRagdoll2D behaviour being wrong in Unity 2020.3+. Closes #1977. 2021-11-03 19:47:38 +01:00
Harald Csaszar
dfa52de90d [unity] Fixed URP shader compile error at Unity 2021.2 (with URP 12.0 and newer). Closes #1912. Added commented-out include references to spine-core include files using package name, to be used when spine-unity is used via UPM package. 2021-10-29 16:16:12 +02:00
Harald Csaszar
5052b727de [unity] Removed unnecessary URP shader variants that lead to very high compile time. Closes #1974. 2021-10-29 13:20:45 +02:00
Harald Csaszar
4b70b1489c [unity] Fixed IAnimationStateComponent missing (destroyed) component exception due to interface null check instead of using overloaded UnityEngine.Object.operator==. Closes #1972.
IAnimationStateComponent throws exception due to interface null check #1972
2021-10-27 18:06:37 +02:00
Harald Csaszar
947da83533 [unity] Increased package version number of last commit's changes. See #1967, commit 43e8000. 2021-10-12 12:50:02 +02:00
Harald Csaszar
43e8000c80 [unity] Fixed URP Sprite shader ignoring Fixed normal in some settings. Closes #1967. Fixed a warning. 2021-10-12 12:48:49 +02:00
Harald Csaszar
5937b3021b [unity] Fixed Timeline clip not updating to the shown EaseIn & MixerBehaviour when inside Play mode. Added null check. Closes #1962. 2021-10-11 18:25:22 +02:00
Harald Csaszar
555c124a44 [unity] Updated second package.json file version number as well. See commit 38a42e41. See #1961. 2021-10-06 20:34:29 +02:00
Harald Csaszar
38a42e41c6 [unity] Fixed Timeline clip EaseIn from empty animation or blank space. Closes #1961. 2021-10-06 20:30:58 +02:00
Harald Csaszar
5142ecc9ca [unity] Minor: whitespace changes to please formatting checks. 2021-09-29 21:34:21 +02:00
Harald Csaszar
8ea166b331 [unity] Fixed json vs binary file detection. 2021-09-29 21:10:58 +02:00
Harald Csaszar
39dfca8263 [Unity] Fixed Update When Invisible mode causing strange Event timing. Closes #1954. 2021-09-29 19:32:48 +02:00
Harald Csaszar
7f5e7c3bfc [unity] Prepared MeshGenerator class for creating subclasses. 2021-09-17 20:38:55 +02:00
Harald Csaszar
b235b42175 [unity] Added a second package.json for timeline UPM package for use with spine-unity via unitypackage instead of UPM dependencies. See #1676. 2021-09-17 18:26:22 +02: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
cd8064774f [csharp][unity] Cleanup refactoring of TranslateTimeline.Evaluate code, see previous commit 91f7969c. See #1676. 2021-09-15 16:30:43 +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
Mario Zechner
67c0d39eab [runtimes] Fixed owl example project, export and runtime scripts
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
2021-09-14 00:02:04 +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
019f325c4d [unity] Increased officially compatible Unity version to 2021.1. 2021-09-01 18:54:30 +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
Harald Csaszar
d6df0725a2 [unity] Added null-check at AnimationReferenceAsset. 2021-08-31 17:03:20 +02:00
Mario Zechner
6a93555805 Remove BOMs 2021-08-18 20:51:17 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Harald Csaszar
577f280258 [csharp] Minor cleanup: Removed empty file CustomSkin.cs, changed comments to not make formatter indent blocks in undesired way. 2021-08-18 16:42:51 +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
d316e30a5c [unity] Fixed missing Blend Modes example scene assets (SkeletonGraphic blend mode materials). 2021-08-13 17:53: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