401 Commits

Author SHA1 Message Date
Harald Csaszar
2b85114d54 [unity] Added Preferences parameter to disable console error when SkeletonDataAsset skeleton data file is none. Finishes code changes to allow copy protection systems. Closes #1794. 2022-09-28 18:46:31 +02:00
Harald Csaszar
eb7bf3a8b3 [unity] Fixed excessive UnloadingUnusedAssetsImmediate during build. Initially created to avoid out of memory exceptions, can now be disabled via preferences. Closes #2160. 2022-09-27 20:38:33 +02:00
Harald Csaszar
81708ebb0d [unity] Call computeWorldVertices before accessing region uvs in SkeletonBaker. Fix only for cosmetic reasons, SkeletonBaker doesn't map sequence functionality to Unity skeletal animation. See #2154. 2022-09-15 11:33:41 +02:00
Harald Csaszar
f1cababc9a [unity] Added Preferences setting Reload SkeletonData after Play, disable to avoid the reloading delay after exiting play-mode. 2022-09-14 17:16:10 +02:00
Harald Csaszar
16a1cc9395 [unity] Added Preferences setting Optimize Preview Meshes, disabled by default now to not increase build time every build. Previous behaviour was always-on. See #1273. 2022-09-08 17:43:43 +02:00
Harald Csaszar
6da33e5c88 [unity] Multiple Canvas Renderers warnings: Fixed missing warning icon in SkeletonGraphic Inspector due to element width. Added console log statement when instantiating SkeletonGraphic as well. 2022-09-05 15:58:48 +02:00
Harald Csaszar
7a95875ebb [unity] Added a warning when a .skel file is found instead of .skel.bytes during import. 2022-09-02 20:58:42 +02:00
Harald Csaszar
a3e0ab37ed [unity] Added outline shader parameter Advanced - Opaque Alpha which can be used to exclude problematic semi-transparent areas. 2022-09-02 19:56:51 +02:00
Harald Csaszar
87e5a84cff [unity] Fixed SkeletonRootMotion 3D rigidbody rotational root-motion. Closes #2143. Added SkeletonRootMotion callback delegates ProcessRootMotionOverride and PhysicsUpdateRootMotionOverride to customize how root motion is applied. 2022-08-30 17:55:38 +02:00
Harald Csaszar
ecf5418a25 [unity] Fixed Exception at SetIconForObject with Unity 2021.2. Closes #2141. 2022-08-25 15:45:19 +02:00
Harald Csaszar
90c4569596 [unity] Updated license headers which were not yet up to date. 2022-08-18 11:58:51 +02:00
Harald Csaszar
d9c6e048a0 [unity] Fixed Inspector preview skeleton PMA Vertex Color not being enabled for all Spine shaders. Closes #2129. 2022-07-28 18:47:49 +02:00
Harald Csaszar
4f4d339c57 [unity] Fixed issues with image sequence import, including custom slot blend modes. Closes #2126, closes #2127. 2022-07-25 19:50:14 +02:00
Harald Csaszar
b79316de81 [unity] Fixed skeleton import and Inspector behaviour of TK2D integration on 4.1. See #2113. 2022-07-18 13:16:14 +02:00
Harald Csaszar
cffd11a4b3 [unity] Fixed Unity defines, see #2101. 2022-07-01 14:34:33 +02:00
Harald Csaszar
ab28b77c70 [unity] Fixed previous bugfix, Unity defines UNITY_2020_3_OR_NEWER and UNITY_2020_3_16 but not UNITY_2020_3_16_OR_NEWER. See #2101. 2022-06-28 16:32:24 +02:00
Harald Csaszar
0a32573581 [unity] Fixed compile error due to not all 2020.3 and 2021.1 versions having SaveAssetIfDirty. Closes #2101. 2022-06-28 15:57:04 +02:00
Harald Csaszar
845cc33895 Merge branch '4.0' into 4.1-beta 2022-06-27 14:06:22 +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
1ed52764b3 Merge branch '4.0' into 4.1-beta 2022-06-13 16:27:46 +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
f48e32b70c Merge branch '4.0' into 4.1-beta 2022-06-09 18:14:07 +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
cf654d3768 [unity] Minor cleanup. 2022-06-01 16:58:11 +02:00
Harald Csaszar
9427732038 [unity] Added UnscaledTime property at SkeletonAnimation, behaving like SkeletonGraphic.UnscaledTime. 2022-05-30 20:58:25 +02:00
Harald Csaszar
4b4e96b788 [unity] Minor import code refactoring, shall not change anything. 2022-05-24 17:17:20 +02:00
Harald Csaszar
f26b12821e Merge branch '4.0' into 4.1-beta 2022-05-24 16:37: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
3869519145 Merge branch '4.0' into 4.1-beta 2022-05-09 11:54:27 +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
1b51bebb8e Merge branch '4.0' into 4.1-beta 2022-05-06 15:23:51 +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
8dc4ee4a6e Merge branch '4.0' into 4.1-beta 2022-05-05 18:24:43 +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
7df6c6e767 Merge branch '4.0' into 4.1-beta 2022-05-05 18:07:27 +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
31daf2c7df Merge branch '4.0' into 4.1-beta 2022-05-05 17:36:53 +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
d0770a99cb [unity] Fixed automatic partial re-import when atlas png texture and/or material have been deleted and re-exported. Closes #1650. 2022-04-28 18:18:11 +02:00
Harald Csaszar
f04a7b38ca [unity] Fixed exception after changing animation name with existing custom mix duration, closes #1874. Displaying animation/bone/etc name in red in Inspector fields when it no longer exists at the skeleton data. 2022-04-27 20:49:40 +02:00
Harald Csaszar
a23217c8f7 Merge branch '4.0' into 4.1-beta 2022-04-26 19:20:41 +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
badlogic
83df6b7316 Merge branch '4.0' into 4.1-beta 2022-04-21 14:05:53 +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
156ef80a9c [unity] Setting SkeletonGraphic CanvasRenderer.cullTransparentMesh to false at new instances to avoid Add blend mode problems. 2022-04-08 11:18:50 +02:00
Harald Csaszar
25a8a3aa1e Merge branch '4.0' into 4.1-beta 2022-04-07 16:37:07 +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
Mario Zechner
78e8f637bb Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-03-21 19:32:37 +01: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