LayaAir 3.2.3 Engine Library
更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload
Version 3.2.3 Release Changelog
Bug Fixes
Engine
- Fixed a rendering error when all
slot.alpha
values in a Spine animation are set to 0, and an issue with the last frame not updating correctly. - Fixed the incorrect
playState
return after a non-looping Spine animation finishes playing. - Fixed an issue where enabling fast rendering in Spine caused rendering to freeze on the first frame after playback in certain scenarios.
- Fixed inconsistencies between Spine editor effects and engine rendering under specific conditions.
- Fixed incorrect brightness when using additive blending in Spine.
- Fixed errors in Spine under WebGPU mode when
sceneData
is null. - Fixed an issue where child node scripts continued executing after the parent node was disabled and the child node was removed.
- Fixed an issue with HTML text formatting where overflow handling and truncation with ellipsis displayed abnormally.
- Fixed a bug where frequent changes to button skins could cause display confusion.
- Fixed unit conversion issues when retrieving linear velocity for 2D rigid bodies.
- Fixed an error when enabling 2D rigid bodies.
- Fixed an issue where canvas transparency settings were ineffective.
- Fixed incorrect masking effects when mask nodes were rotated.
- Fixed an issue where setting texture repeat on PBR materials with non-power-of-two textures was ineffective.
- Fixed incorrect video texture effects in the native engine.
- Fixed the bug where the ray function modified the input values.
IDE
- Fixed incomplete display of a polygon set as a mask node in the scene panel of the IDE.
- Fixed an error in the atlas creation tool when texture scaling was set to 0.8.
- Fixed an error during undo (
Ctrl+Z
) after deleting a polygon point usingAlt
. - Fixed an error when converting a
text
node to alabel
node. - Fixed an issue where multiple settings of
Constant
in timeline animations could not be saved. - Fixed an issue where new vertices could not be added to the last edge of a polygon in the scene editor.
- Fixed an issue where the
Tree
component's tree node rendering callback was triggered twice. - Fixed an issue where replacing images in prefabs displayed correctly in preview but not after publishing.
- Fixed an issue where the 2D scene editing area would not display in certain scenarios.
- Fixed a bug where the order of serialized properties for prefab root nodes differed from the definition order.
- Fixed an error when extracting template files with a large number of compressed files, causing decompression failures on some computers.
- Fixed an issue on macOS where the
Command+Option+I
shortcut remained occupied by the IDE even when it lost focus, preventing the same shortcut from being used in other applications. - Fixed an issue where more than 30 scenes in the build and publish settings could not be displayed.
- Fixed a bug in the texture processing tool where scaling to a power of two was skipped.
Additions and Optimizations
-
Optimized a series of resource memory recycling issues, thanks to detailed feedback from the community developer (ID: codetypes).
-
Optimized particle compilation duration by adding the
mulShaderDefineMode
configuration to theShuriKenParticle3DShaderDeclaration
class. When set totrue
, it enables multi-macro mode, reducing single-particle compilation time but increasing macro variables and shader count. When set tofalse
, it disables multi-macro mode, increasing single-particle compilation time but reducing macro variables and shader count. -
Disabled setting button state color transparency in the IDE to prevent developer misuse.
-
Added the
maxDeltaTime
interface to Spine, allowing developers to remove playback speed limits when controlling playback speed viaLaya.timer.scale
.It is recommended to use
playbackRate()
to control playback speed instead of modifyingLaya.timer.scale
for Spine playback.