Skip to content

LayaAir 3.1.4 Engine Library

Compare
Choose a tag to compare
@LayaCharley LayaCharley released this 15 Jun 18:12
· 55 commits to LayaAir_3.1 since this release

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

Version 3.1.4 Release Changelog

Bug Fixes

Engine

  1. Fixed a bug causing errors due to repeated addition of the 3D physics character controller.
  2. Fixed a bug where 3D rigid bodies were still affected by gravity after destroying the 3D physics collider shape.
  3. Fixed a bug in the 2D physics engine where applying a force or impulse to an object always directed the force to the right.
  4. Fixed a bug in the 2D physics engine where objects set to allow sleep (AllowSleep) did not respond to continuous impulses.
  5. Fixed a bug where adding a rigid body to a 2D object invalidated cacheAs.
  6. Fixed a memory leak in the 2D physics physics2D.
  7. Fixed a bug where setting a dynamic rigid body with velocity to a static rigid body in 2D physics would transfer the velocity to the static body.
  8. Fixed a bug in 3D UI components where child nodes with 3D UI did not refresh their positions after removing and re-adding the parent node and changing its position.
  9. Fixed a bug where setting blur filter parameters would change transparency.
  10. Fixed a bug where textures were not released after releasing Spine.
  11. Fixed a bug where video preloading would automatically play sound.
  12. Fixed a bug where clicking on a video would pause it when Native default auto-play was enabled.
  13. Fixed a bug where the position of Native text was offset and had jagged edges compared to the webpage.
  14. Fixed a bug where bold text was ineffective in Native.
  15. Fixed a bug where custom fonts were ineffective in Alipay mini games.

IDE

  1. Fixed an issue with uncertain file order in fileconfig during multiple releases.
  2. Fixed an issue where the scroll bar sometimes did not appear when the hierarchy panel had a large number of nodes.
  3. Fixed an issue where components could not be batch deleted in the IDE.
  4. Fixed an issue where an error occurred when clicking the close button while the project was still loading, preventing the IDE from closing.
  5. Fixed a bug in the hierarchy panel where right-clicking on search results caused an error.
  6. Fixed a bug where the resource panel in the IDE could not search for folders.
  7. Fixed a bug where BC mode texture compression resulted in darker textures with green edges.
  8. Fixed a bug where renaming a prefab in the IDE made it unsearchable in the search box.
  9. Fixed a bug where 2D nodes could not be resized correctly in the IDE scene editor after rotation.
  10. Fixed a bug where setting multiple nodes as static only affected the first node's child nodes.
  11. Fixed an issue where the wireframe was obscured by the model when editing a physical bounding box in orthographic view.

Important New Features

  1. Added support for the Taobao mini-game engine plugin.
  2. Added thumbnails for materials and models in the IDE.
  3. Added HTTPS support for IDE previews.

Optimization Updates

  1. Optimized the display of QR codes in IDE previews.
  2. Added support for expanding and collapsing tree nodes using the left and right keyboard keys in the IDE.
  3. Added the ability to input specific values for particle curves in the IDE.
  4. Added a control interface for ScrollBar.easeFunction in the Panel component, allowing developers to take over the scrolling effect.
  5. Added getLinearVelocity and getAngularVelocity interfaces to Rigidbody3D to obtain the current linear velocity of objects in the physical world.
  6. Optimized the default texture compression format options to match the default display values on the PC platform, avoiding developer confusion.
  7. Removed the deprecated overrideGravity parameter for 3D rigid bodies in the IDE to avoid developer confusion.
  8. Enabled animation compression by default when importing FBX animations into the IDE.
  9. Optimized the item recycling and destruction of excess items in the List component.
  10. Optimized the distance and normal accessors of Plane.
  11. Optimized the efficiency of SingletonList.add in clipping and rendering queues.
  12. Optimized the efficiency of power-of-2 calculations for Camera.Layer.
  13. Optimized handling and error messages for circular nesting of prefabs.
  14. Optimized the efficiency of distance calculations during object sorting.
  15. Prohibited the use of "js" as a name for subpackage directories when building and releasing subpackages.