744 Commits

Author SHA1 Message Date
Harald Csaszar
3fc55df04d [unity][4.0] SkeletonDataAsset Atlas Assets array immediately resets size in Inspector after changing array size. Fixed on 4.1+ via commit b79316de already. 2022-09-26 17:41:04 +02:00
Harald Csaszar
73ce4206ce [unity] Backport of commits ab28b77c and 0a325735. Fixed compile error due to not all 2020.3 and 2021.1 versions having SaveAssetIfDirty. See #2101. 2022-07-19 15:41:14 +02:00
Harald Csaszar
6e659dc08b [unity] SkeletonGraphic did not expose UI base class MaskableGraphic Maskable property. 2022-06-27 14:03:12 +02:00
Harald Csaszar
e39f74837a [unity] Fixed UPM package Index out of bounds exception in editor code. Closes #2095. 2022-06-13 16:26:12 +02:00
Harald Csaszar
0c286734a7 [unity] Fixed build crashing on Unity 2022.1.3 on PostprocessSpinePrefabMeshes() calling AssetDatabase.SaveAssets(). Closes #2093. 2022-06-09 18:07:15 +02:00
Harald Csaszar
6fc6e090ae [unity] Fixed rare import error that material.mainTexture is null ("Material is missing texture"). 2022-05-24 16:31:58 +02:00
Harald Csaszar
9882fe1da3 [unity] Fixed straight blend mode material templates which were setup as PMA. Closes #2084. 2022-05-18 15:11:17 +02:00
Harald Csaszar
4f5bc00d66 [unity] Added missing null checks in SkeletonRendererCustomMaterials. Closes #2081. 2022-05-16 19:43:24 +02:00
Harald Csaszar
a82b24a649 [unity] Fixed drag and drop code affecting other non-Spine drag and drop events, introduced in commit 29e0e917. See #2077. 2022-05-09 11:50:17 +02:00
Harald Csaszar
29e0e9172b [unity] Fixed drag and drop instantiation for Unity 2021.2 and newer (which provides a new callback method). Closes #2077. 2022-05-06 15:12:14 +02:00
Harald Csaszar
362a9fcd20 [unity] Added additional null checks (unlikely to trigger, but added for sake of correctness). 2022-05-05 18:23:21 +02:00
Harald Csaszar
3ad0192912 [unity] Quick fix of last commit was incorrect, sorry, fixed for real now. 2022-05-05 18:04:47 +02:00
Harald Csaszar
f63dd6027e [unity] Fixes compile error on code branch for old Unity versions < 2018.3 of (added by previous commit). 2022-05-05 17:51:19 +02:00
Harald Csaszar
d00be040e2 [unity] Fixed null reference exception upon import when default shader is used but preferences has default shader set to a non-existing/null shader path. 2022-05-05 17:34:21 +02:00
Harald Csaszar
edea4bef94 [unity] Now keeping manually placed AnimationClip Events when updating skeleton assets (Mecanim). Closes #1838. 2022-04-26 19:18:28 +02:00
Harald Csaszar
70277b8f04 [unity] Fixed incorrect reloading behaviour (especially of deform timeline) at Domain Reload. (Fix of previous commit 0820bd7). Closes #2066. 2022-04-13 20:41:58 +02:00
Harald Csaszar
0820bd7024 [unity] Fixed incorrect reloading behaviour (especially of deform timeline) at Domain Reload. Closes #2066. 2022-04-07 16:36:20 +02:00
Harald Csaszar
ec53964603 [unity] Hopefully fixed some occurrances of a build crash when building many prefabs and textures. See #2047. 2022-03-18 15:44:34 +01:00
Harald Csaszar
5ff19ea31c [unity] Added meta file of add spine-csharp here.txt to prevent an error message when using Unity Package Manager and git URL. 2022-03-07 17:57:18 +01:00
Harald Csaszar
20c421c1d4 [unity] Fixed changing atlas asset at SkeletonData asset not reloading automatically. Closes #2037. 2022-03-01 19:23:18 +01:00
Harald Csaszar
4cb0f16ae6 [unity] Minor: removed a debug log statement added in commit 299ab8f. 2022-03-01 12:24:03 +01:00
Harald Csaszar
b7f4bbc5e3 [unity] Added missing added changes of previous commit 6a3fb6a. 2022-03-01 11:32:41 +01:00
Harald Csaszar
6a3fb6a42a [unity] Added warnings when Spine Preferences - Texture Atlas Settings PMA and blend mode materials PMA do not match. Added straight alpha blend modes material templates. 2022-02-28 16:14:44 +01:00
Harald Csaszar
299ab8fff8 [unity] Improved memory utilization during build pre- and post processing. 2022-02-24 21:34:05 +01:00
Harald Csaszar
dcb593489b [unity] Unity SpriteAtlas Support: Removed unnecessary material reference to generated editor atlas texture in pre-build step. See #1900. 2022-02-17 11:13:53 +01:00
Harald Csaszar
ece6530b0c [unity] Fixed exception at prefab baking. Closes #2034. 2022-02-16 20:04:02 +01:00
Harald Csaszar
dc2bddd883 [unity] Fixed import issue when suitable atlas found in multiple directories, wrong one could be assigned if named identically. Closes #2033. 2022-02-10 17:04:52 +01:00
Harald Csaszar
431910d660 [unity] Timeline add Track menu naming improvements. Changed clip property Custom Duration to Default Mix Duration (inverted). Improved track appearance in the Timeline window and track Inspector. 2022-02-04 14:38:24 +01:00
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
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
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
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
506a1abf53 [unity] Fixed extension method VertexAttachment.GetLocalVertices ignoring deform timelines. Closes #1990. 2021-11-15 16:12:11 +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
618e20dc9a [Unity] Fixed Initial Flip not updating mesh in Editor mode. Closes #1953. 2021-11-09 20:06:16 +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
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
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