Skip to content

Releases: layabox/LayaAir

LayaAir 3.3.9 Engine Library

10 Apr 08:30

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

BUG Fixes

Engine

  1. Fixed an issue where editing polygon vertices of the 2D light occluder was affected by scaling.
  2. Fixed an issue where the icon of the 2D light occluder component scaled with the node.
  3. Fixed an issue where DrawRoundRect produced incorrect width and height calculations when used as a mask without percent = true.
  4. Fixed an issue where setParamsXXX became ineffective after the animation state machine finished.
  5. Fixed a crash caused by adding a mask to sliced images.
  6. Fixed an inconsistency between editor and runtime behavior for 2D particle effects.
  7. Fixed an issue where bold Microsoft YaHei fonts were clipped.
  8. Fixed a crash when Image nine-slice tiling exceeded the 65,535 vertex limit.
  9. Fixed an issue where drawToRenderTexture2D did not work with the 2D camera.
  10. Fixed an issue where setParamsXXX became ineffective after the animation state machine completed.
  11. Fixed an issue in Native DCC hot update where newly downloaded version information was reset.
  12. Fixed an issue where the Android build did not respond to the back button after installation.
  13. Fixed an issue where rigid body movement behaved abnormally on Android.
  14. Fixed an issue where FPS limiting settings did not take effect on Android.

IDE

  1. Fixed an issue where switching the nine-slice fill mode of image resources did not automatically refresh in the IDE scene.
  2. Fixed an issue where selecting all animation keyframes and applying “Two Tangents -> Constant” via right-click caused the editor to freeze.
  3. Fixed a crash when enabling CacheAs after assigning material and shader to a sprite.
  4. Fixed an issue where prefab child nodes disappeared when converting node types.
  5. Fixed an error when packaging a single web project via command line.
  6. Fixed an issue where lightmap baking configuration reverted to default after reopening the project.
  7. Fixed an issue where renaming a prefab did not update its name in the panel.

New Features & Improvements

  1. Added: A tool in the IDE for converting 3D meshes to 2D meshes.
  2. Optimized: defaultPhysicsMemory global 3D configuration now supports the PhysX engine.
  3. Optimized: When version management is enabled during packaging, the manifest file (fileconfig.json) for main packages and subpackages no longer uses hash-based filenames. Instead, it uses a ?v=time query parameter to ensure the latest manifest is always fetched, avoiding issues where CDN refreshes cause outdated local caches on mini game platforms.

LayaAir 3.3.8 Engine Library

30 Jan 09:32

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

Engine

  1. Fixed: Resource preloading failure in the Preload list when scenes or prefabs are not located in the root directory.
  2. Fixed: Frame rate limiting (FPS capping) issue on the Android platform within the native engine.
  3. Fixed: Data update failure in the native engine when expanding UBO (Uniform Buffer Object) memory.

IDE

  1. Fixed: Lack of polymorphism support for data components registered via @IEditor.regClass.
  2. Fixed: The top file list (tab bar) failing to update after renaming a prefab.
  3. Fixed: Data loss when copying and pasting materials that utilize different Shaders.
  4. Fixed: Issue where lightmap baking configurations could not be saved.

New Features & Optimizations

  1. New: Added Main Menu -> File -> Discard Changes to revert all modifications in the current scene.
  2. New: Added Build Options -> Subpackage Settings -> Pack All Resources. When enabled, all assets in the subpackage directory will be included.
  3. New: Added an option to automatically include dependencies when exporting asset packages.
  4. Optimization: Removed the "Starting scene not set" prompt when playing from a designated starting scene with a startup script configured.
  5. Optimization: Enhanced the user experience and interaction logic for Sliders and Scrollbars.
  6. Optimization: Improved the frame rate limiting logic for the native engine on the HarmonyOS platform.

LayaAir 3.3.7 Engine Library

15 Jan 15:38

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

Engine

  1. Fixed a bug where switching coordinate systems and then switching display components caused incorrect coordinates.
  2. Fixed a bug where setting an image first and hiding it, then dynamically modifying its position, had no effect.
  3. Fixed a display issue caused by adding filters to Spine 3.7 animation nodes.
  4. Fixed a bug where loading Spine via prefabs could cause errors.
  5. Fixed an intermittent issue where images inside a Dialog would occasionally disappear when disabled was set to true.
  6. Fixed a bug where setting an image to gray in Dialog.onEnable could cause the image to become invisible.
  7. Fixed a bug where, after applying post-processing to a Sprite and setting its alpha, disabling post-processing, changing the alpha, and then re-enabling post-processing would result in the alpha setting not taking effect.
  8. Fixed a bug where incorrect unit conversion in 2D physics rigid body rotation caused incorrect rotation behavior.
  9. Fixed a bug where trail width (widthMultiplier) did not scale with the parent container or stage.
  10. Fixed a bug where the value range of FlipRotation in the CPU particle system was incorrect.
  11. Fixed an issue with lens flare post-processing rendering.
  12. Fixed a bug where the scaling behavior of the Panel UI component was incorrect.
  13. Fixed a playback issue with VideoNode on Android Native builds.

IDE

  1. Fixed an issue where nine-slice information was lost after manually packing images into an atlas.
  2. Fixed a prefab property override issue in the IDE.
  3. Fixed a bug where the selection preview box position was incorrect in Tilemap after setting a pivot point.
  4. Fixed an issue where lens flare data created in the IDE could not be saved.

Optimizations

  1. Optimized: Optimized 2D performance.

LayaAir 3.3.6 Engine Library

30 Dec 06:54

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

Bug Fixes

Engine

  1. Fixed an issue introduced in the previous version where text rendering positions of some fonts could differ across operating systems.
  2. Fixed an issue where Bullet Wasm failed to load when version management was enabled.
  3. Fixed an issue where reloading failed after resizing the new UI frame animation.
  4. Fixed a bug where adding multiple List components in a scene would cause errors when changing resolution at runtime.
  5. Fixed a bug where texture memory could spike abnormally when using filters.
  6. Fixed a bug where repeatedly changing the color of an object could prevent its Material from being released upon destruction.
  7. Fixed a bug where using atlas textures in 2D meshes could cause the entire atlas to be rendered.
  8. Fixed an issue where frame rate changes were not reflected in the statistics panel when Laya.stage.frameRate was set to sleep or slow.
  9. Fixed an intermittent issue in 2D lighting where loading linear light before resources could cause it to become ineffective.
  10. Fixed an issue where severe aliasing appeared on rounded corners after applying a mask.
  11. Fixed a bug where nested Panel components caused child panel scrolling to stop working.
  12. Fixed an issue where Spine animations without width, height, or position could not be displayed.
  13. Fixed a bug where the post-processing bloom effect stopped working after setting a render texture on a 3D camera.
  14. Fixed a 2D rendering memory leak issue on Native platforms.
  15. Fixed an issue where Spine animations were not properly cleared on Native platforms.
  16. Fixed an issue where the Spine pivot point was incorrect on Native platforms.
  17. Fixed keyboard input issues on Android emulators in Native builds.
  18. Fixed a crash when invoking the input box on iOS in Native builds.
  19. Fixed a crash when refreshing on Native platforms.
  20. Fixed errors caused by passing null or undefined to render states on Native platforms.
  21. Fixed audio destruction errors on Native platforms.
  22. Fixed a keyboard event bug on HarmonyOS in Native builds.
  23. Fixed display issues with the new UI on Native platforms.
  24. Fixed an issue where examples related to createBufferURL were not displayed on Native platforms.

IDE

  1. Fixed an error that occurred when quickly starting and stopping preview.
  2. Fixed an issue where publishing could succeed even if scripts contained compilation errors.
  3. Fixed an issue where the initial change of 2D ambient light was affected by whether a light source had been added.
  4. Fixed an issue where deleting a 2D light did not immediately update the effect in the IDE.
  5. Fixed an issue where compilation errors during publishing were not properly caught to interrupt the process.
  6. Fixed an error that could occur when rapidly clicking the preview play button.
  7. Fixed a bug where tiles under the mouse cursor disappeared when switching sprites during TileMapLayer editing in TileMap.

Improvements

  1. New: Added support for a Cocos-to-LayaAir resource migration plugin. Open-source repository: https://github.com/layabox/CocosMigrationPlugin
  2. New: Added SoundPlayer / VideoPlayer components as alternatives to VideoNode / SoundNode, allowing them to be attached to any node (e.g. UI nodes) to enable audio and video functionality.
  3. New: Added Pause and Step buttons to the preview runtime panel, allowing the game to be paused and advanced frame by frame during execution.
  4. New: Added a “Paste as Child Node” menu item to the Hierarchy panel.
  5. New: In the Hierarchy panel, nodes with custom script components now display a script icon for quick identification.
  6. New: Added a menu option in the Hierarchy panel to choose whether arrow keys are used to navigate the hierarchy or move nodes on the stage when the panel has focus.
  7. New: Added a menu option in the Hierarchy panel to quickly filter all nodes that contain custom scripts.
  8. New: Added mouse wheel zoom speed configuration to the Scene View 2D settings (accessible via the monitor icon in the toolbar).
  9. New: Added a “Replace Resource” menu item to the Project Assets panel.
  10. New: Optimized the display of the Main Menu → Panels menu, with support for grouping. Custom panels can define groups using the menuGroup property.
  11. New: Added editor layout management, allowing multiple layouts to be saved, switched, imported, and exported. Available under Main Menu → Panels.
  12. New: Added an AI Services menu to the main menu, providing entry points for AI-related features.
  13. New: The shortcut key settings interface now supports sequential key combinations, such as pressing CTRL+K followed by CTRL+C to trigger a function.
  14. New: The new UI now supports creating and using progress bars and sliders in non-prefab mode.
  15. New: Added an API to the plugin system for waiting until newly imported assets are fully processed: EditorEnv.assetMgr.waitForAssetsReady.
  16. Improved: Added a confirmation step when moving folders in the Project Assets panel.
  17. Improved: The Properties panel now correctly displays cases where user script components do not inherit from Script, helping new users locate script issues more easily.
  18. Improved: The Component Selection dialog now automatically focuses the search box when opened.
  19. Improved: Optimized the Gizmos display for 2D cameras and 2D lights.
  20. Improved: In the new UI, the Scroller no longer blocks mouse wheel input when scroll bars are hidden, supporting more usage scenarios.
  21. Improved: The layout centering feature in the new UI now supports centering each element individually.
  22. Improved: When editing a 2D prefab, clicking on empty space in the stage now automatically selects the root node.
  23. Improved: Added an option to allow developers to choose whether animation file names or custom names are used.
  24. Improved: Added shader and material templates for Trail2D.

LayaAir 3.3.5 Engine Library

04 Dec 08:20

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

BUG Fixes

Engine

  1. Fixed an issue where multiple Skeleton instances operated on the same Graphics command stream, causing rendering commands to overwrite each other and resulting in no animation being displayed.
  2. Fixed an incorrect version check for Spine 4.1 and above.
  3. Fixed a bug where, when texture wrap mode was set to Repeat and a compressed format was selected on mobile platforms, publishing to WeChat would report a missing file.
  4. Fixed an issue where bold fonts could be clipped due to insufficient width.
  5. Fixed a bug where background music playback incorrectly used the sound effect volume settings.
  6. Fixed a bug where enabling statistics and setting the screen mode to Vertical would cause an error.
  7. Fixed a bug where the Native engine could crash under the New UI system.
  8. Fixed a bug where placeholder text in input components did not support internationalization.

IDE

  1. Fixed an issue where the resource dependency panel did not follow width changes, causing the Replace button to be partially hidden under default width.

New Features & Optimizations

  1. Added: Shortcut key support for all scene preview and run features, making it convenient to quickly switch between current scene and startup scene.
  2. Improved: Input fields no longer support internationalization settings; the input field’s internationalization option has been disabled.
  3. Improved: Cameras in scenes now automatically enable the 3D post-processing library when adding post-processing effects.
  4. Improved: The new UI list click event (UIEvent.ClickItem) now provides a second callback parameter for the current event object.

LayaAir 3.3.4 Engine Library

28 Nov 08:06

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

BUG Fixes

Engine

  1. Fixed an issue where calling crossfade multiple times in a short period on 3D material property animations would throw errors.
  2. Fixed an issue where 2D particles could not be clipped by ScrollRect.
  3. Fixed an issue where rounded rectangle rendering was not visually round.
  4. Fixed an issue where importing a tiledMap with a 45-degree map did not convert object layer coordinates correctly.
  5. Fixed a bug where child nodes could become invalid when the parent node's blend mode was set.
  6. Fixed a bug where Loader.clearTextureRes did not work correctly.
  7. Fixed a bug where applying a glow filter to Spine would be clipped if the offset exceeded the node's width and height.
  8. Fixed a memory leak issue in text rendering.
  9. Fixed a bug where 3D rigidbody mesh colliders might not display physics debug lines when convex polygons were enabled.
  10. Fixed an issue in Native where WebSocket would disconnect after five to six minutes.

IDE

  1. Fixed a bug where previewing a texture set as a cube did not render correctly.
  2. Fixed a bug where preview did not refresh in the IDE after changing image settings (e.g., filter mode, flip).
  3. Fixed a bug where checking the autoAdjust property on a Spine component in prefab editor had no effect at runtime.
  4. Fixed a bug where publishing might not correctly parse newly added component resource properties in nested prefab overrides.
  5. Fixed an issue where the display list height did not change when zooming in the project creation panel.
  6. Fixed a bug where creating a node in the hierarchy would throw an error if the 3D core library was not checked.
  7. Fixed incorrect behavior when pressing the ESCAPE key in the resource panel search box.
  8. Fixed a bug where undoing after unbinding a prefab could cause the prefab state to be incorrect.
  9. Fixed a bug where the eye and lock states in the hierarchy panel were not saved.

New Features & Optimizations

  1. Added: Added a “Resource Dependencies” panel, accessible via the panel menu or the project resource right-click menu “Find References.”

    • Find References: Find where a resource is referenced in the project. You can also replace references to this resource with references to another resource.

    • Find Dependencies: List which other resources a specified resource depends on.

    • Plugin system provides APIs via IEditorEnv.AssetDependencyTool, e.g.:

      let result = await IEditorEnv.AssetDependencyTool.queryReference(["45897bb8-a4bd-4607-a70e-ba1a7546882f"]);
    • Plugin API allows convenient batch operations.

  2. Added: JS scripts or WASM files marked as “imported as plugin” can now specify the target platform in the property panel, limiting packaging to the chosen platform.

  3. Added: Spine renderer component adds premultipliedAlpha property for manual premultiplied alpha control.

  4. Added: Native engine supports canvas-related APIs: uint8ArrayToArrayBuffer and uint8ArrayToArrayBufferAsync.

  5. Added: HarmonyOS platform adds support for text outlines, videoPlayer, and videoDecoder.

  6. Added: Adapted to HarmonyOS 6.0.

  7. Added: IDE sprite drawing now includes menu entry for DrawTrianglesCmd (mesh).

  8. Added: IDE adds shortcut for “Activate Previous Tab” to quickly switch back to the previous tab.

  9. Added: IDE property panel allows quick setting of values to 0.5 or 1 via right-click menu.

  10. Optimization: Native engine integrates IDE splash screen configuration; one-time IDE setup applies to Native builds automatically.

  11. Optimization: iOS startup and UI migrated from AppDelegate to SceneDelegate for better multi-window support.

  12. Optimization: iOS build artifacts upgraded from static .a libraries to xcframeworks, simplifying CI integration and modernizing the binary structure.

  13. Optimization: Improved text rendering logic, fixing overflow and alignment issues (may slightly change font positions vs. older versions).

  14. Optimization: Added DPR handling for PC mini-games to improve visual clarity.

  15. Optimization: 2D mesh renderer removed textureRange and textureRangeIsClip, replaced by tilingOffset.

  16. Optimization: Removed incorrect texture fade properties; added maxMipLevels to control maximum MIP levels in compressed textures.

  17. Optimization: Cube textures now validate width and height as powers of two, blocking generation and showing a warning if invalid.

  18. Optimization: Improved DC auto-optimization performance.

LayaAir 3.2.9 Engine Library

27 Nov 09:59
9935d21

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload\

BUG Fixes

Engine

  1. Fixed a bug where the listener for the transform might not be removed when SubMeshRenderElement is destroyed.
  2. Fixed a bug where performance statistics became abnormal after setting Laya.timer.scale to 0.
  3. Fixed an out-of-bounds issue in the Spine2DRenderNode.drawGeos method.
  4. Fixed a bug regarding 2D physics angular velocity.
  5. Fixed a bug where brief frame skipping caused a drop in frame rate under certain circumstances.
  6. Fixed a bug in the WeChat and Douyin adapter libraries where performance.now() incorrectly returned microseconds (it should be milliseconds).

IDE

  1. Fixed a bug where the preview inside the IDE would not refresh after modifying image settings (e.g., filter mode, flipping).
  2. Fixed a bug where child objects were not updated when modifying the Layer of a 3D node.
  3. Fixed a bug where resource property values of newly added components within overridden nested prefabs were not parsed correctly during publishing.
  4. Fixed a bug where the Cubemap preview could not be rotated.
  5. Fixed a bug that caused an error when creating a new node in the Hierarchy panel if the 3D core library was not checked in the runtime settings.

New Features

  1. Added: Native Android support for 16KB page sizes.

  2. Added: New IDE plugin interface IEditorEnv.AssetDependencyTool for querying asset references and dependencies.

    let result = await IEditorEnv.AssetDependencyTool.queryReference(["45897bb8-a4bd-4607-a70e-ba1a7546882f"]);

LayaAir 3.3.3 Engine Library

29 Oct 08:20
3a72345

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

BUG Fixes

Engine

  1. Fixed a bug where setting transparency for Spine caused the model to turn black.
  2. Fixed a bug where reloading and adding a Spine after it was cleared would cause an error on the next frame.
  3. Fixed an issue where disabling fast rendering and having the Spine skeleton’s active state set to false would prevent it from displaying.
  4. Fixed a bug where child nodes remained invisible when the parent node’s initial alpha was 0.01 and later dynamically changed to visible.
  5. Fixed a bug where macros with different lengths caused passes to be incorrectly culled in multi-pass rendering.
  6. Fixed a bug where enabling post-processing caused parent containers to move along with scroll animations.
  7. Fixed a bug where setting coordinates for a Sprite3D object failed in certain situations.
  8. Fixed a display issue with ColorEffect2D under the 2D camera.
  9. Fixed a bug where masks could not be used inside a 2D region.
  10. Fixed a compatibility issue between old project primitive.shader templates and the new shadertype version.
  11. Fixed a crash issue on Android when applying 2D post-processing.
  12. Fixed a bug in the Native engine where the player’s ObjectFit parameter had no effect.
  13. Fixed a bug in the Native engine where the loop parameter for Android video playback did not work.
  14. Fixed a bug in the Native engine where the player and decoder autoPlay parameter was ineffective.
  15. Fixed a bug in the Native engine where websocket failed to receive error and close messages.
  16. Updated the websocket library for the HarmonyOS platform in the Native engine.
  17. Fixed an issue where UIConfig2.modalLayerColor setting had no effect.

IDE

  1. Fixed a bug where the sRGB checkbox state for default texture types was not saved correctly when premultiplied Alpha was enabled.
  2. Fixed an occasional bug in IDE local debugging where textures were missing in the automatic atlas.
  3. Fixed a bug where creating a new GButton and selecting TitleWidget could cause the editor to freeze when clicking the button itself.
  4. Fixed a bug in 2D physics where spherical colliders were incorrectly positioned after modifying anchor points.

New Features & Optimizations

  1. New: Added LayaExtInit in the Native engine for executing external interfaces before initializing OpenGL/D3D devices.

    LAYAEXTAPI void LayaExtInit(jsvm_env env, jsvm_value exp)
  2. New: Added zoom property to the 2D camera to support camera scaling.

  3. Optimization: Prevented self-dependency in IDE ScriptBundle definition configuration to avoid infinite loops caused by mistakenly dragging in itself.

  4. Optimization: Added fault tolerance handling for null values during 3D animation color transitions.

LayaAir 3.3.2 Engine Library

28 Sep 05:52

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

BUG Fixes

Engine

  1. Fixed an issue where Spine resources without width/height parameters could not be displayed
  2. Fixed a bug where Spine displayed abnormally after adding post-processing effects
  3. Fixed a bug where Spine displayed abnormally when lighting was enabled
  4. Fixed a bug where deserialization failed if a List’s Item template was a prefab
  5. Fixed a crash when repeatedly calling Laya.SoundManager.playMusic in WeChat Mini Games
  6. Fixed an issue where the slice component, when not slicing and value set to 1, would display abnormally due to async resource indexing
  7. Fixed a bug where setting the zIndex property on nodes with mask had no effect
  8. Fixed an issue where Graphics with semi-transparent color overlapped incorrectly when collapsed
  9. Fixed an issue where RadioGroup label margins at runtime didn’t match the effect in IDE
  10. Fixed a bug where enabling batching caused draw9GridTexture to render abnormally after publishing
  11. Fixed a bug where assigning a material to UI was ineffective
  12. Fixed a bug where the new UI List’s blank area mouseThrough property didn’t take effect
  13. Fixed a bug where, with startDrag method’s hasInertia set to true, objects would fly off after drag ended
  14. Fixed a bug where the new 2D masking system behaved abnormally when mask width/height was 0, or after adding then removing graphics
  15. Fixed a bug where music playback didn’t stop after pressing HOME on Android to leave the browser
  16. Fixed a bug where 2D camera and 2D region could not be dragged in edit mode
  17. Fixed a bug where 2D camera affected nodes that weren’t its children
  18. Fixed a bug where hidden disabled buttons still triggered events
  19. Fixed a bug where multi-selecting timeline keyframes with ctrl+shift+click only selected visible ones
  20. Fixed a bug where NavAgent navigation orientation didn’t match movement direction
  21. Fixed a bug with navigation component initialization order (agents initialized first caused surface initialization warnings/errors)
  22. Fixed a bug where Native package name and window title didn’t use the IDE config’s display name
  23. Fixed a bug where PBR material displayed abnormally in Native builds
  24. Fixed Native PBR rendering errors

IDE

  1. Fixed an issue where setting box width/height to 0 in IDE resulted in auto-adapted size at runtime
  2. Fixed a bug where scaling sprite with shift in IDE didn’t scale proportionally if pivot wasn’t centered or initial value
  3. Fixed a bug where removing scrollbar from old UI Tree didn’t update scene editor view
  4. Fixed a bug where rapidly starting/stopping preview caused errors
  5. Fixed a bug where 3D rigid body shape changes in editor couldn’t be undone
  6. Fixed a bug where SpotLight2D in IDE had positional offset when lighting 2D mesh

Additions & Optimizations

  1. Added: Native Android support for 16KB page size
  2. Added: Auto atlas feature now loads in atlas form during preview (instead of scattered textures), improving preview-publish consistency. Also supports manually loading auto atlas (file extension must be .atlas).
  3. Added: FBX import option “Add Root Node” (checked by default to preserve previous behavior of adding an empty root). Can now uncheck to avoid extra root node.
  4. Added: Several usability improvements to UIGroup (subclasses Tab and RadioGroup)
    1. Added auto line wrapping switch lineWrap based on child width/height, and auto-adapt parent size when not wrapping
    2. Added line spacing control lineSpace
    3. Added label overflow mode labelOverflow
    4. Added vertical alignment mode labelVAlign
  5. Added: RadioGroup new options fitContent for auto-sizing to text, and labelFixedSize for fixed label size when not auto-sized
  6. Added: recoverAllRTS() to recycle all render targets used by post-processing effects
  7. Added: Return value for Laya.loader.loadPackage to indicate success/failure
  8. Added: Support for VideoNode.currentTime and reload in LayaAir Native
  9. Added: Support for WebP image format in LayaAir Native
  10. Optimized: Tree component now scrolls automatically when child items exceed width/height
  11. Optimized: When creating IDE projects from local templates, .laya files in template are ignored and regenerated automatically
  12. Optimized: Updated StatUI show method to accept position parameters (thanks to Geequlim)
  13. Optimized: Simplified AnimatorState.isLooping logic (thanks to Geequlim)
  14. Optimized: Added shader type validation when assigning materials — prevented 2D properties on 3D materials and vice versa, avoiding runtime errors
  15. Optimized: Improved FPS logic for smoother rendering refresh

LayaAir 3.2.8 Engine Library

13 Oct 10:42
c9b5b60

Choose a tag to compare

更多版本日志以及IDE的下载,请前往LayaAir官网:https://layaair.com/#/engineDownload

BUG Fixes

  1. Fixed a bug where destroying a Spine object did not release video memory, causing VRAM accumulation.
  2. Fixed a bug causing animation memory overflow.
  3. Fixed a bug where after setting the 2D rigid body angular velocity or setting the rigid body gravity scale to 0, the rigid body would still fall and rotate.
  4. Fixed a bug on Windows where button text did not scale when the window was enlarged.
  5. Fixed a bug where enabling fast rendering mode in IDE preview for Spine caused an error.

New Features

  1. Added: Text/Label now has a Single Character Rendering property. When enabled, characters with the same glyph and font size will share a single global cache, useful for dynamic text. This avoids memory and performance overhead caused by generating a large number of text atlases when text content is frequently updated.
  2. Added: FBX model file import option now includes an Add Root Node property, which is enabled by default. Previously, an empty node was automatically added as the root when importing models. Users can uncheck this option to avoid generating an extra root node.