1625 Commits

Author SHA1 Message Date
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
32165703b9 [unity] Timeline: Fixed Inspector cutting off last three parameters. Updated documentation and package version for commit a7752095. See #1933, see #1807. 2021-08-03 19:45:43 +02:00
Harald Csaszar
a775209577 [unity] Timeline clip end behaviour made more consistent and configurable, mixes out to empty animation by default. Partially reverted b4fd09b6. See #1933. Closes #1807. 2021-08-03 18:29:53 +02:00
Harald Csaszar
b4fd09b690 [unity] Timeline now supports not pausing at track end via added Don't Pause on Stop parameter. Closes #1933. 2021-07-30 19:45:16 +02:00
Harald Csaszar
bfce11f043 [unity] Minor cleanup of commit 60e67017. See #1316. 2021-07-27 17:25:30 +02:00
Harald Csaszar
6c24aceab3 [unity] Fixed compile error for older Unity versions introduced by last commit 60e67017. See #1316. 2021-07-27 17:21:06 +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
96d1061374 [unity] Minor cosmetic and documentation update after pull request to not pause timeline on Director pause. See #1929. 2021-07-22 17:53:37 +02:00
Vladislav Hristov
cd3d8e3359 [unity] Add option to not pause spine with timeline
There is already an option with hold the animation, but there is no
option to not pause the animation while the Timeline director is paused.

An example use-case where this option is important is when the timeline
is paused while waiting for an user input, but there is still a need to
play an idle loop animation on a spine skeleton.
2021-07-22 12:10:45 +03: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
43565f197d [unity] Fixed incorrect rendering when CanvasGroup compatible is enabled on SkeletonGraphic TintBlack shader. Closes #1908. 2021-07-09 18:36:10 +02:00
Harald Csaszar
6d9e3e7e19 [unity] Fixed Timeline not pausing/resuming clip playback on PlayableDirector.pause. Closes #1920. 2021-07-06 17:48:21 +02:00
Harald Csaszar
20aebce749 Merge branch '3.8' into 4.0 2021-07-06 12:14:15 +02:00
Harald Csaszar
d1749f8aa8 [unity] Fixed potential null reference exception upon access in Start if Reload Scene is disabled. Closes #1919. 2021-07-06 12:13:19 +02:00
Harald Csaszar
11077589c3 [unity] Fixed Update when invisible: mesh and mesh bounds were not always initialized when starting off-screen. Closes #1911. 2021-07-05 21:23:37 +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
ea991a6324 Merge branch '3.8' into 4.0 2021-06-23 20:33:39 +02:00
Harald Csaszar
b3f76c4e54 [unity] Fixed SkeletonGraphic Update When Invisible not working. Now it uses onCullStateChanged, which can be used with RectMask2D. Closes #1910. 2021-06-23 20:30:33 +02:00
Harald Csaszar
214c778bac [unity] Fixed white image at first frame when using multiple canvas renderers. Replaced RawImage at additional SkeletonGraphic renderers with more resource friendly custom component. 2021-06-17 18:58:52 +02:00
Harald Csaszar
dbec33e556 [unity] Minor cleanup: removed two comments mentioning methods that no longer exist after 4.0 API cleanup. 2021-06-14 18:57:38 +02:00
Mario Zechner
de697385fc [runtimes] Fix up README.md files using correct editor version. 2021-06-14 15:31:17 +02:00
Harald Csaszar
538245fcda [unity] Fix for UpdateWhenInvisible issue introduced in commit 5cb54bd. Closes #1897. See #1883. 2021-06-01 17:23:36 +02:00
Harald Csaszar
9e9445199a [unity] Fix for UpdateWhenInvisible issue introduced in commit 5cb54bd. Closes #1897. See #1883. 2021-06-01 17:16:27 +02:00
Harald Csaszar
87b6810675 [unity] Fixed compile error introduced by commit 963da75 (moved Search() method between classes). 2021-05-31 11:43:14 +02:00
Harald Csaszar
7b1469c32b [csharp] Ported commit 4f73fbb, "Fixed applying a constraint reverting changes from other constraints.", see #1896. 2021-05-27 18:35:52 +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
f0f52da3ad [unity] Fixed too high Mesh vertex count when multiple submeshes are used (in combination with clipping). Supported on Unity 2019.3+. Closes #1894. 2021-05-20 19:29:56 +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
68b862c4d8 [unity] Minor: Updated documentation and example scene scripts regarding GetRepackedSkin, GetRepackedAttachments and GetRemappedClone to describe texture cache and cleanup. 2021-05-17 20:52:19 +02:00
Harald Csaszar
01b436b4f9 [unity] Minor: Updated documentation and example scene scripts regarding GetRepackedSkin, GetRepackedAttachments and GetRemappedClone to describe texture cache and cleanup. 2021-05-17 19:59:51 +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
7ee6b78da6 Merge branch '3.8' into 4.0-beta 2021-05-07 20:51:16 +02:00
Harald Csaszar
938a8c8369 [unity] Fixed SkeletonGraphic Mesh memory leak. Closes #1887. 2021-05-07 20:50:01 +02:00
Harald Csaszar
40836e1917 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:06:14 +02:00
Harald Csaszar
5cb54bdf9c [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-30 18:06:14 +02:00
Harald Csaszar
5231b4f713 [unity] Prevent null reference exception when using Advanced - Fix Draw Order and disabling the renderer and/or GameObject. 2021-04-30 18:06:14 +02:00
Harald Csaszar
700e316e57 [unity] Attachment.GetRemappedClone(Sprite) method now provides an additional optional parameter useOriginalRegionScale. 2021-04-30 18:02:37 +02:00
Harald Csaszar
25d7f8266f [unity] Fixed UpdateMode when invisible not being used when instantiated off-screen. Closes #1883. 2021-04-28 19:54:48 +02:00
Harald Csaszar
1e888db53a [unity] Prevent null reference exception when using Advanced - Fix Draw Order and disabling the renderer and/or GameObject. 2021-04-22 11:45:58 +02:00
Harald Csaszar
204f8672ed Merge branch '3.8' into 4.0-beta 2021-04-21 20:33:49 +02:00
Harald Csaszar
e425d64d2c [unity] Fixed RootMotion scripts in combination with Rigidbody components. Now works smoothly. Closes #1880. 2021-04-21 20:27:52 +02:00
Harald Csaszar
d146a81d21 [unity] SkeletonRagdoll components now support bone scale at any bone in the skeleton hierarchy, including negative scale and root bone scale. Closes #1879. 2021-04-20 18:18:20 +02:00