diff --git a/CHANGELOG.md b/CHANGELOG.md index 1274d59..9a91252 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.1.4 + +- Fixed player build compile error: `ScheduleEditorFinalEvaluation` call in `BlendshapeGazeMixerBehaviour.ProcessFrame` was not wrapped in `#if UNITY_EDITOR`. + ## 0.1.1 - Unreleased - Added the direct TextMeshPro and Timeline assembly references required by the subtitle editor API. diff --git a/Runtime/Gaze/Timeline/BlendshapeGazeMixerBehaviour.cs b/Runtime/Gaze/Timeline/BlendshapeGazeMixerBehaviour.cs index f8f97fd..c4a2885 100644 --- a/Runtime/Gaze/Timeline/BlendshapeGazeMixerBehaviour.cs +++ b/Runtime/Gaze/Timeline/BlendshapeGazeMixerBehaviour.cs @@ -169,6 +169,7 @@ namespace Streamingle.Gaze hasSubmittedState = true; hasProcessedFrame = true; +#if UNITY_EDITOR if (!Application.isPlaying) { // Evaluate after the whole Timeline graph has applied its animation @@ -176,6 +177,7 @@ namespace Streamingle.Gaze // and facial blendshape baseline from this frame. ScheduleEditorFinalEvaluation(driver); } +#endif } public override void OnGraphStop(Playable playable) diff --git a/package.json b/package.json index 203aa09..aa5b2b1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.streamingle.utilities", "displayName": "Streamingle Utilities", - "version": "0.1.3", + "version": "0.1.4", "unity": "6000.0", "description": "Reusable Streamingle runtime components and Unity editor utilities.", "keywords": [