LayaAir 3.1.4 Engine Library
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
- Fixed a bug causing errors due to repeated addition of the 3D physics character controller.
- Fixed a bug where 3D rigid bodies were still affected by gravity after destroying the 3D physics collider shape.
- Fixed a bug in the 2D physics engine where applying a force or impulse to an object always directed the force to the right.
- Fixed a bug in the 2D physics engine where objects set to allow sleep (AllowSleep) did not respond to continuous impulses.
- Fixed a bug where adding a rigid body to a 2D object invalidated cacheAs.
- Fixed a memory leak in the 2D physics physics2D.
- 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.
- 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.
- Fixed a bug where setting blur filter parameters would change transparency.
- Fixed a bug where textures were not released after releasing Spine.
- Fixed a bug where video preloading would automatically play sound.
- Fixed a bug where clicking on a video would pause it when Native default auto-play was enabled.
- Fixed a bug where the position of Native text was offset and had jagged edges compared to the webpage.
- Fixed a bug where bold text was ineffective in Native.
- Fixed a bug where custom fonts were ineffective in Alipay mini games.
IDE
- Fixed an issue with uncertain file order in fileconfig during multiple releases.
- Fixed an issue where the scroll bar sometimes did not appear when the hierarchy panel had a large number of nodes.
- Fixed an issue where components could not be batch deleted in the IDE.
- Fixed an issue where an error occurred when clicking the close button while the project was still loading, preventing the IDE from closing.
- Fixed a bug in the hierarchy panel where right-clicking on search results caused an error.
- Fixed a bug where the resource panel in the IDE could not search for folders.
- Fixed a bug where BC mode texture compression resulted in darker textures with green edges.
- Fixed a bug where renaming a prefab in the IDE made it unsearchable in the search box.
- Fixed a bug where 2D nodes could not be resized correctly in the IDE scene editor after rotation.
- Fixed a bug where setting multiple nodes as static only affected the first node's child nodes.
- Fixed an issue where the wireframe was obscured by the model when editing a physical bounding box in orthographic view.
Important New Features
- Added support for the Taobao mini-game engine plugin.
- Added thumbnails for materials and models in the IDE.
- Added HTTPS support for IDE previews.
Optimization Updates
- Optimized the display of QR codes in IDE previews.
- Added support for expanding and collapsing tree nodes using the left and right keyboard keys in the IDE.
- Added the ability to input specific values for particle curves in the IDE.
- Added a control interface for ScrollBar.easeFunction in the Panel component, allowing developers to take over the scrolling effect.
- Added getLinearVelocity and getAngularVelocity interfaces to Rigidbody3D to obtain the current linear velocity of objects in the physical world.
- Optimized the default texture compression format options to match the default display values on the PC platform, avoiding developer confusion.
- Removed the deprecated overrideGravity parameter for 3D rigid bodies in the IDE to avoid developer confusion.
- Enabled animation compression by default when importing FBX animations into the IDE.
- Optimized the item recycling and destruction of excess items in the List component.
- Optimized the distance and normal accessors of Plane.
- Optimized the efficiency of SingletonList.add in clipping and rendering queues.
- Optimized the efficiency of power-of-2 calculations for Camera.Layer.
- Optimized handling and error messages for circular nesting of prefabs.
- Optimized the efficiency of distance calculations during object sorting.
- Prohibited the use of "js" as a name for subpackage directories when building and releasing subpackages.