1590 Commits

Author SHA1 Message Date
Harald Csaszar
5f51705f13 [unity] Fixed Resolve atlases dialog failing to load just created atlas asset. Closes #2024. Fixed an unnecessary exception thrown after aborting skeleton import and adjusting blend mode materials. 2022-01-19 20:21:19 +01:00
Harald Csaszar
9e54dc4faa [unity] Increased version number of Spine URP Shaders UPM package in package.json. 2022-01-18 19:06:47 +01:00
Harald Csaszar
8a30203ab9 [unity] Fixed incorrect normal orientation for lighting in URP 2D shaders. Closes #2023. Fixed compile error of URP/2D/Spine/Sprite shader on Unity 2021.2. Closes #2022. 2022-01-18 19:03:12 +01:00
Harald Csaszar
ae186964a2 [unity] Timeline: Removed editor warning when SpineAnimationStateTrack 'Track Index' is identical at different tracks, different skeleton objects can be targeted. Timeline API prevents a target object check. See commit 7db783c. 2022-01-12 16:01:56 +01:00
Harald Csaszar
1233bce55e [unity] Support fix prefab override via mesh filter global settings. Closes #1938. 2022-01-10 18:21:55 +01:00
Harald Csaszar
7400da8896 [unity] Fixed BoundingBoxFollowerGraphic vertices being 0.0 in some occasions, closes #1999. Problem introduced in commit 506a1ab, see issue #1990. 2021-12-21 13:07:48 +01:00
Harald Csaszar
ceade3f804 [unity] Minor: unified TextureType of all example skeleton atlas textures to Default. Some were set to Sprite (2D and UI) which caused confusion. 2021-12-16 11:22:32 +01:00
Harald Csaszar
a77f9010f3 [unity] minor formatting, format checks failed after commit 193882f. 2021-12-15 17:01:56 +01:00
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
0e2fe5c6c9 [unity] Minor: documentation improvement of SpineAtlasAsset.CreateRuntimeInstance method description. 2021-12-13 17:24:10 +01:00
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