Skip to content

11.17.1

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 14:12

Features

Text backgrounds and decorations follow text modifiers

Text style backgrounds, underlines, and strikethroughs now follow text modifiers. When a modifier moves, rotates, scales, or fades glyphs, including along a follow path, the matching part of the background or decoration moves and fades with each glyph. Previously it stayed where the text was laid out, at full opacity. Underline and strikethrough authoring is not enabled by default in the production or early-access Editor at the time of this release. (Change)

Fixes

  • Vulkan crashes on PowerVR GPUs: Apps using Vulkan could crash during pipeline creation on PowerVR GPUs, from MediaTek and Unisoc phones to the Pixel 10. With precompileShaders enabled, the PowerVR shader compiler crashed on pipelines that shader warmup built, on every launch. Separately, the pipeline cache that Vulkan keeps across launches since 11.16.1 could be corrupted while pipelines compiled, and the Pixel 10 then crashed on every later launch, even without precompileShaders. For now, Vulkan skips shader warmup and the saved pipeline cache on PowerVR GPUs, so first frames there compile shaders without them. Other GPUs and OpenGL are unchanged. (Fix)
  • Crash after loading a state machine with a missing transition interpolator: When a state machine transition's interpolator didn't resolve, its layer and every later layer and listener were left unset, and the first advance crashed. This could happen when a transition referenced an interpolator in another artboard. The state machine now loads completely, and that transition mixes linearly. (Fix)
  • Crashes on enum view model properties without an enum: Listing a view model's properties, or reading or setting an enum property, crashed when the file gave that enum property no enum. Such a property now reads as an empty enum, with an empty value, no values, and an empty enum type name. (Fix)
  • Nested remap animations a frame late: When a nested artboard's remap animation time changed after that frame's advance, the new time showed one frame later. This affected remap times set by data binding, and remaps keyed by a joystick-driven remap one nesting level up. The new time now shows in the same frame. A remap still updates a frame late when a nested state machine follows it on the same nested artboard, or when it or a later nested animation there runs at a partial mix. A data-bound remap mix also still applies a frame late. (Fix)
  • Image-filled text backgrounds and decorations: An image paint on a text background, underline, or strikethrough was fitted to that shape instead of the Text's layout box, unlike the Editor. It now fits the Text's layout box, as the Editor shows it. (Fix)
  • Dashed or trimmed text backgrounds: A text background with a dash or trim path effect kept its first shape after the text's layout changed. It now updates with the layout. (Fix)
  • GPU Canvas texture uploads: Luau scripts using GPU Canvas could get wrong texture contents. On Vulkan, a 3D texture was created one slice deep, so every slice read as the first. On OpenGL, an upload into a 3D texture at a depth offset went into the first slice, and an upload whose rows weren't a multiple of four bytes, such as an r8unorm texture three texels wide, came out sheared. Uploads now land where requested. GPUTexture:upload also raises a script error for an empty buffer, or for row and image strides too large to check, instead of reading past the buffer. (Fix, Fix, Fix)
  • Uninitialized GPU Canvas buffers on Vulkan: On Vulkan, a buffer that a script created without initial data held whatever its memory contained, so a shader that read it first could see garbage. It now starts zeroed. (Fix)

Behavior changes

Script mesh draws past their buffers

A Luau drawImageMesh or drawImageMeshInstanced call whose triangles name a vertex past the end of its vertex or UV buffer now raises a script error. Previously the GPU drew whatever the device read there. TriangleBuffer indices are zero-based, as they always were. An earlier scripting documentation example used one-based indices, so a three-vertex mesh built from it now raises an error, and the documentation now shows zero-based indices. (Change)

Performance

Less update work in large and nested artboards

Component updates now visit only the components marked dirty, instead of checking every component in dependency order on each pass. Data-binding updates also skip nested artboards with no queued binding work. In C++ runtime benchmarks on a Mac, using a file with 828 nested artboard instances, the component change cut the average advance time by 14%, and the binding change cut it by 6.8% on changing frames and 13% on unchanged frames. Gains depend on the content. (Change, Change)

Animated trim paths

Animating a trim path's start, end, offset, or mode no longer re-measures the path when the path itself hasn't changed, and sequential trims no longer allocate each frame. In a C++ runtime benchmark on a Mac, a scene with 30 trimmed spirals advanced about 64% faster. Trims over paths whose points also animate still re-measure. (Change)


Full comparison