Skip to content

Releases: layabox/LayaAir

LayaAir 3.2.2 Engine Library

29 Nov 11:42
Compare
Choose a tag to compare

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

Version 3.2.2 Release Changelog

Bug Fixes

Engine

  1. Fixed the issue where using play("specific animation name") to play a specific animation in Spine was ineffective.
  2. Fixed the issue where applying multiple filters or alpha settings on a node caused it to not display or rendered Spine effects invalid.
  3. Fixed the issue where setting the position of a CharacterController immediately after addChild resulted in delayed effect.
  4. Fixed the issue where enabling "color over lifetime" in the 3D particle system affected animation movement.
  5. Fixed the issue where using drawTriangle prevented drawTexture from rendering images.
  6. Fixed the issue where condition transitions in 3D animation failed in CrossFade state.
  7. Fixed the issue where setting the viewport of a camera caused 3D UI to be unclickable.
  8. Fixed the issue of rendering layer errors for transparent materials on native platforms.
  9. Fixed the issue where calling getRenderTextureData on native platforms resulted in a "not found" error.
  10. Fixed the issue where rich text with img tags displayed image-text layout inconsistencies.
  11. Fixed the issue where cone shapes failed to perform proper collisions.
  12. Fixed the issue where TiledMap and Spine animations failed to correctly handle occlusion.

IDE

  1. Fixed the issue where shader code generated by Blueprints was out of sync with the engine.
  2. Fixed the issue where pressing Ctrl + to zoom in on the 2D stage in the IDE did not work on the numpad.
  3. Fixed the issue where dragging a property icon from a non-input field in the property panel to the left was ineffective.
  4. Fixed the issue where modifying shaders did not immediately refresh the material panel.
  5. Fixed the issue where cone shapes failed to perform proper collisions in the IDE.

Updates and Optimizations

  1. New: Opened IDE's built-in icon resources for direct use by plugins.
  2. New: Automatically opens the export directory after exporting resource packages locally, making it easier for users to locate the packages.
  3. New: Added support for importing local templates. Developers can export frequently used project resources or code templates as a zip package, share it with team members, and create new projects using custom local templates.
  4. New: Added support for WebP format textures.
  5. New: Resource Store now features a plugin for creating 2D nodes and UI elements, allowing developers to manage created objects based on resource names or extensions, and initialize property values.
  6. New: IDE now supports loading .mjs JavaScript files as modules if defined as plugins.
  7. New: Added a compression option under "Project Settings -> Script Compilation -> Release Version," allowing users to exclude the removal of unused variables and functions, preventing runtime errors in certain third-party libraries after compression.
  8. Optimized: Switched the HarmonyOS v8 engine in Native to the jsvm engine.
  9. Optimized: Improved API examples and official demos, fixing errors in the 2D physics collision filter example caused by outdated interfaces.
  10. Optimized: Enhanced the Resource Store's action baking plugin to terminate baking and provide alerts when the skeleton count exceeds 255, helping developers identify issues.
  11. Optimized: Added error prompts for missing component scripts.
  12. Optimized: Improved the project settings interface.
  13. Optimized: Enhanced the build and publish interface.

LayaAir 3.2.1 Engine Library

31 Oct 09:14
Compare
Choose a tag to compare

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

Version 3.2.1 Release Changelog

Detailed description of the new features in version 3.2:

https://mp.weixin.qq.com/s/wAf1dShrZBa1LNal8AH8GQ

https://mp.weixin.qq.com/s/vkSsOk-0PERFSaSoZF-5cA

BUG Fixes

Engine

  1. Fixed a bug where the position of UI objects under a 2D parent node using filters did not match the actual position.
  2. Fixed a bug where text displayed incorrectly in child nodes when DrawCallOptimize was set for a Box containing multiple text components.
  3. Fixed a bug where setting different scales on spine caused incorrect display when setting rotation.
  4. Fixed a bug where spine animations might flicker when switching actions repeatedly.
  5. Fixed a bug where filters applied to spine animation nodes caused them not to display.
  6. Fixed a bug where using blended color filters in spine 4.0 led to incorrect import effects in the IDE.
  7. Fixed a bug where static collision groups for prefabs resulted in incorrect collision body positions when placed in the scene.
  8. Fixed a bug where collider properties set in prefabs did not take effect.
  9. Fixed an anomaly in rigid body simulation under the Physx physics engine.
  10. Fixed a bug that caused a white screen in the Taobao mini-game adaptation library in certain cases.
  11. Fixed a bug where 2D animations targeting Graphics played correctly in the IDE preview but failed in the browser.
  12. Fixed a bug where PixelLine colors were incorrect.
  13. Fixed a bug where the nodeCommonMap was not cloned when recording Shader variant data.
  14. Fixed a bug in the Android file extension mechanism.
  15. Fixed a bug that caused crashes when running released Android packages in certain cases.
  16. Fixed a problem in the iOS packaging environment where background music could not be switched and there were dependencies on 3D libraries in 2D projects.
  17. Fixed a bug with precompiled shaders in the Native installation package.
  18. Fixed a bug where resources would still be downloaded over the network after packaging with DCC in Native release.

IDE

  1. Fixed a bug where property tips for expanded items in the IDE did not display.
  2. Fixed an issue where deleting the last point in the gradient color editing panel caused an exception.
  3. Fixed a bug where enabling worker loader led to web packaging failures.
  4. Fixed a bug that resulted in decimal coordinates appearing in certain operations.
  5. Fixed a bug where changing the center point position and box size of BOX type NavMeshObstacles did not reflect correctly in the editor.
  6. Fixed a bug where entry scripts for subpackages did not participate in version management when building for Web and other non-mini-game platforms.

Optimizations

  1. New: Support for wasm library adaptation on Douyin mini-games, OPPO, and vivo platforms.
  2. New: Automatically convert spine nodes in older version scene files to the 3.2 spine component.
  3. New: All plugin system APIs have been supplemented with comments; please update usage through “Developer Menu -> Update Engine d.ts”.
  4. New: Added shortcut key settings for file tags such as "Close" and several other operations.
  5. Optimization: Ensure text formatting does not place punctuation at the start of a line.
  6. Optimization: Improved the gradient color editing panel and particle gradient color settings with compatibility for single values; added copy and paste for gradients and curves.
  7. Optimization: Removed support logic for LayaAir2 data formats in the engine; for upgraded old projects that need to dynamically load LayaAir2's ls and lh files, check the laya.legacyParser library in the IDE's engine module options.
  8. Optimization: When adding scenes in the general settings for IDE build publishing, duplicate additions will be filtered out.
  9. Optimization: In the IDE property panel, when the displayed quantity of array and dictionary elements exceeds a certain number, a "More" button will appear to optimize performance.
  10. Optimization: Added a prompt when the same vertex in spine has more than four bones (the fast rendering optimization scheme for spine cannot be used).
  11. Optimization: When opening a resource interface in the package manager, an active refresh request is added to help users check if the resource has an upgraded version.
  12. Optimization: Improved the smoothness and fluidity of operations like translation and rotation in the scene.

LayaAir 3.2.0 Engine Library

30 Sep 11:50
Compare
Choose a tag to compare

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

Version 3.2.0 Release Changelog

Bug Fixes

Engine

  1. Fixed the issue where 3D video textures were displayed incorrectly on the Native Android platform in OpenGLES mode.
  2. Fixed the error caused by the unsupported spine.PathAttachment.
  3. Fixed the bug where a part of the image was missing, and the animation could not play after using path constraints in Spine.
  4. Fixed the display anomaly when the number of Spine bones exceeded 100.
  5. Fixed the error in Spine caused by using the loading timing in the onEnable lifecycle.
  6. Fixed the flickering issue in Spine animation frames.
  7. Fixed the position offset bug caused by setting both filters and anchor points simultaneously.
  8. Fixed the bug where video nodes could not play in Native standalone packages.
  9. Fixed the bug where the 3D navigation navAgent.getCurrentPath() interface reported an error.
  10. Fixed the bug where the engine would freeze if the nine-slice data was unreasonable.
  11. Fixed the bug where the first click on a PC touch screen triggered onmouseclick twice.
  12. Fixed the bug where setting the speed of a 2D animation to a negative value caused incorrect event calls.

IDE

  1. Fixed the issue with particle curve editing.
  2. Fixed the bug where selecting multiple UI components and dragging them to change the X/Y values of the bounding properties in the properties panel would misplace the UI components.
  3. Fixed the bug where FBX animation files exported from 3D Max could not play because the start time was not at frame 0.

Updates and Optimizations

  1. New: Added the strikethrough text feature.

  2. New: Added a package manager.

    Note: Package manager import and management is supported only when the package contains package.json and has the relevant fields configured.

  3. New: Added the ability to set the entry function:

    Note: This script must export a function named main. After the engine initializes, this function will be called directly, and the default scene will not be opened. Developers can decide which scene to open within the entry function.

  4. New: Added support for using the engine's WASM library on the WeChat Mini Game platform.

  5. New: Added support for scene hooks, allowing custom logic insertion in specific processes like creating, loading, or saving objects in the scene. For example, if you want the pivot of all newly created UI nodes to initialize at (0.5, 0.5), you can write a plugin like this:

    @IEditorEnv.regSceneHook()
    export class TestSceneHook implements IEditorEnv.ISceneHook {
        //载入场景后调用
        onLoadScene() {
        }
    	//保存场景后调用
        onSaveScene(scene: IEditorEnv.IGameScene, data: any) {
        }
    	//新建节点对象后调用
        onCreateNode(scene: IEditorEnv.IGameScene, node: Laya.Node) {
            
            if (node instanceof Laya.Sprite)
                node.anchorX = node.anchorY = 0.5;//初始化锚点
        }
    	//场景中创建组件后调用
        onCreateComponent(scene: IEditorEnv.IGameScene, comp: Laya.Component) {
        }
    }
  6. New: Added the option to include or exclude source code when generating source maps during release.

  7. New: The script collection feature now correctly isolates the code between different script collections. During development, scripts from different collections can be imported directly. The IDE will automatically convert these imports into indirect references during compilation to achieve bundle splitting.

  8. New: Script collections can now choose whether to load before the main script collection.

  9. New: The release interface now supports setting the main package as remote.

  10. New: Spine resources can now be dragged directly from the asset library to the hierarchy or scene, automatically creating Spine render nodes and Spine components.

  11. New: Added support for preset texture types. Since the default value sets imported textures as 3D textures, for 2D projects, this can be changed to sprite textures, eliminating the need for manual adjustments. UI components can now automatically recognize them as 2D sprite textures.

  12. Optimization: When using the 2D empty project template, the default texture type is automatically adjusted to sprite texture, making it more user-friendly.

  13. Optimization: After adding engine components, the corresponding engine libraries are automatically referenced to avoid runtime errors caused by missing engine libraries.

  14. Optimization: Added destruction detection for Spine nodes to prevent errors caused by asynchronously loading already destroyed nodes.

  15. Optimization: Performance improvements for handling a large number of files when using caching on the WeChat Mini Game platform.

  16. Optimization: Improved the efficiency of Native standalone packages, reducing the initial black screen time.

  17. Optimization: Resource management no longer generates meta files for all files in node_modules folders or files and folders ending with “~”.

  18. Optimization: If developers choose to use WASM libraries from the engine modules, such as physics and navigation, the platform will automatically switch to the corresponding pure JS library for platforms that do not support WASM.

  19. Optimization: The build task interface has been changed from a dialog box to a panel.

3.2.0-beta.3 Changelog

Update Date: 2024-08-27

Bug Fixes

Engine

  1. Fixed an issue where a Spine animation within a Box would be occluded when another Spine animation was present on the Box.
  2. Fixed the discrepancy between Spine animations in LayaAir and previews in SpineTrial.
  3. Fixed a bug where Spine effects would not scale in certain situations.
  4. Fixed an issue where the official Cannon physics engine plugin could not add a 3D rigid body in the IDE under certain conditions.
  5. Fixed a bug in the 3D physics engine where spheres would slide but not roll on slopes.
  6. Fixed a bug in the 2D physics rigid body component where the linear velocity was not converted to pixel units.
  7. Fixed a compatibility issue in version 3.1 where particles using the default ParticleShuriken shader would not render.
  8. Fixed a shader error in WebGL1 for particles.
  9. Fixed a memory leak in 3D UI caused by the context initialization holding a Texture2D.
  10. Fixed an issue with abnormal shadow rendering in WebGPU mode.
  11. Fixed a memory leak caused by continuously updating masks.
  12. Fixed a bug in the beforeInit method related to the newly added afterInit method.
  13. Fixed a screen tearing issue on certain platforms when caching 2D as a static image.

IDE

  1. Fixed an issue where file extensions would change from uppercase to lowercase after enabling version control.
  2. Fixed a bug in multi-agent scene pathfinding where adding multiple identical navMesh components to a node would prevent them from being fully baked.
  3. Fixed an issue where exiting the timeline animation and clicking the close button on the popup did not return to the editing interface.
  4. Fixed an issue in the plugin system where creating two radio buttons using the IEditor.Menu.create interface would only allow one selection and prevent a second selection.
  5. Fixed a bug where the IBuildPlugin.onCollectAssets interface in the plugin system was not called during the build process.

Major New Features

  1. Added a visual programming module (Blueprint).
  2. Added support and build publishing for the HarmonyOS NEXT platform.

General Updates and Optimizations

  1. Removed Spine from widgets. Starting from version 3.2, the node mode for Spine is no longer supported and has been replaced with the Spine skeleton animation component.
  2. Improved engine performance, especially noticeable in iOS environments.
  3. Added useFrame and updateFrame properties to videoTexture for optimizing video playback, addressing video playback stutter issues in the Android WeChat browser.
  4. Added support for simultaneous touch screen and mouse operations on laptops that support both inputs.
  5. Hid the unsupported destroy array function in the particle emitter to prevent misuse that could cause errors.
  6. Deprecated the drawToTexture interface in Sprite, replacing it with the drawToRenderTexture2D interface.
  7. Changed the ES5 conversion function in Alipay mini-game publishing to be built into the IDE, no longer using Alipay's converter to prevent large files from being ignored by Alipay.
  8. Added a debug log window to the Native mode of Window. The ShowDebugConsole=true option in the config.ini file will display the log window, which is hidden by default.
  9. Added support for modifying boolean properties in the 2D timeline animation panel.
  10. Added an option to change the layer property of all child nodes when modifying the layer property in the 3D node property panel.
  11. Added support for automatic edge adaptation based on polygon shapes in 2D physical polygon collisions.
  12. Improved the type property of the custom node in the shader blueprint.
  13. Enhanced the novice user experience: a popup will guide users to download the official Visual Studio Code website if VSCode is not installed. Added a Help menu entry for a beginner's guide (development environment and process).

3.2.0-beta.2 Changelog

Update Date: 2024-06-27

Bug Fixes

Engine

  1. Fixed a bug where skeletal animation examples would not play in the native environment.
  2. Fixed a bug where Windows projects published natively would not run if the path included Chinese characters.
  3. Fixed a bug causing crashes in certain cases when running natively.
  4. Fixed an issue on native iOS where multi-light source examples displayed abnormally in OpenGLES mode.
  5. Fixed an issue on n...
Read more

LayaAir 3.1.6 Engine Library

27 Sep 12:33
1cb1d9e
Compare
Choose a tag to compare

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

Version 3.1.6 Release Changelog

BUG Fixes

Engine

  1. Fixed a bug where applying masks using rounded rectangles (drawRoundRect) and ellipses (drawEllipse) would cause VideoNode to not display.
  2. Fixed a bug where friction greater than 0 in the 3D physics engine caused spheres to slide without rolling on slopes.
  3. Fixed a bug where linear velocity in the 2D physics rigid body component was not converted to pixel units.
  4. Fixed a bug where, due to caching, setting colorFilter parameters after rendering had started would not take effect when using multiple filters.
  5. Fixed an issue where text strokes appeared with spikes in certain fonts in the WeChat Mini Game environment.
  6. Fixed a bug where objects created via object pooling sometimes failed to trigger 2D physics collision events due to global sprite caching.
  7. Fixed a bug where models with the .obj extension failed to load.

IDE

  1. Fixed a bug where using ETC2 compression caused severe aliasing of transparent edge textures on Android devices.
  2. Fixed a bug where file extensions changed from uppercase to lowercase after enabling version control.
  3. Fixed a bug where moving multiple selected sprites caused position offset when adjusting the XY input values.
  4. Fixed a bug where the onCollectAssets callback of the build plugin IBuildTask did not execute.

Optimization Updates

  1. Added compatibility to handle font rendering loss issues caused by a WeChat Mini Game bug under high-performance+ mode.
  2. Added support for strikethrough text.

LayaAir 3.1.5 Engine Library

26 Jul 09:46
1131666
Compare
Choose a tag to compare

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

Version 3.1.5 Release Changelog

BUG Fixes

Engine

  1. Fixed the bug where onMouseUp would not be triggered if the right mouse button was released first.
  2. Fixed the issue where remote audio resources in Alipay mini-games required a focus switch to play normally.
  3. Fixed the bug where caching in Alipay mini-games was ineffective.
  4. Fixed the bug where video nodes would only have audio and no picture after adding a mask.
  5. Fixed the bug where the Skin RenderElementObj would render multiple times during multiple render passes.
  6. Fixed the bug where textures were not released after Spine was released.
  7. Fixed the issue with 3D character collider prefab parameter settings.
  8. Fixed the issue with reusing physical components across multiple scenes.

IDE

  1. Fixed the issue where the frame rate limit in project settings could not be adjusted to 120 FPS.
  2. Fixed the issue where gravity acceleration Y in project settings could not be set to 0.
  3. Fixed the issue where after replacing resources with the same name, the 9-slice information of the original large image was not restored in the small image.
  4. Fixed the issue where the Morph sub-item was not displayed under the Mesh Renderer panel.
  5. Fixed the bug where after adding a physics collider component to a prefab and setting the collision group, the settings were not saved.
  6. Fixed the bug where the copy and paste function in the properties panel was sometimes inaccurate.
  7. Fixed the bug where radio type menu items in the plugin system did not work properly.
  8. Fixed the bug where modifying script parameters in 2D animations had no effect after publishing.

Optimization Updates

  1. Added 3D physical shape detection interface to the engine.
  2. Added functionality to the IDE to adjust node hierarchy using the keyboard: move node up: press ctrl + up arrow, move node down: ctrl + down arrow.
  3. Added node hierarchy adjustment (move up one layer, move down one layer) to the right-click menu in the IDE scene editor.
  4. Added direct copy and paste functionality for entire components in the IDE.
  5. Added the ability to pick colors from the screen by clicking the color picker button in the IDE color input window.
  6. Added right-click functionality to copy and paste colors in the IDE color property bar.
  7. Adjusted the generated image nodes to be arranged sequentially when dragging images continuously into the scene in the IDE.
  8. Added a warning prompt when adding properties to animations in the IDE if the properties have no default value.

LayaAir Unity Resource Export Plugin

Updated version to 1.1.7, fixing issues with scene export under certain circumstances.

LayaAir 3.1.4 Engine Library

15 Jun 18:12
Compare
Choose a tag to compare

更多版本日志以及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.

LayaAir 3.1.3 Engine Library

26 Apr 12:08
4140201
Compare
Choose a tag to compare

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

Version 3.1.3 Release Changelog

Bug Fixes

Engine

  1. Fixed the issue of UI position offset caused by non-integer values of the emission filter
  2. Fixed the issue of long sharp angles appearing when drawing polylines and triangles with small angles
  3. Fixed the issue of resources not being cleaned up properly when Dialog is set to Auto Destroy At Closed
  4. Fixed the bug of constantly requesting resources named undefined when workloader is enabled
  5. Fixed the issue of script components also calling onDestroy in the IDE environment
  6. Fixed the 2D physics bug with global matrices
  7. Fixed the bug where 3D particle properties could not be displayed properly when set to curves
  8. Fixed the issue of sub-package entry scripts not being executed on the web platform IDE

IDE

  1. Fixed the issue of errors being reported when switching between 2D textures and 2D graphics in the material file properties
  2. Fixed the bug where the VoronoiFloat function in the Shader Blueprint could not be connected to the output interface
  3. Fixed the conflict bug between shader blueprint and shader function blueprint editing
  4. Fixed the bug where the baked model was incorrect when the weapon was affected by multiple bones
  5. Fixed the bug of reporting an error and being unable to clear the current mask object data when setting the mask object of the sprite node to itself
  6. Fixed the bug where the inspector function was abnormal when selecting Scene2D in the scene
  7. Fixed the issue of error messages in the console when moving elements with the up, down, left, and right keys
  8. Fixed the issue of inconsistent invalid variable names in the Runtime class during the generation and runtime stages
  9. Fixed the bug of incorrectly writing all property changes to prefabs when applying prefab overrides
  10. Fixed various stability issues with synchronization, overriding, and referencing of deeply nested prefabs
  11. Fixed the bug where the Mesh and other resources used by the prefab separated from the FBX model internal resource extraction were still the source FBX file resources
  12. Fixed the bug where the effect of changing SRGB could not be seen in real-time when mipmaps were enabled for image files
  13. Fixed the issue of the materialRenderMode in the material class not being initialized
  14. Fixed the bug of errors being reported when double-clicking the Runtime entry
  15. Fixed the issue of the sRGB color space option not taking effect for tga format textures
  16. Fixed the bug where the 2D physics circular collider's position at runtime was different from the initial setting
  17. Fixed the bug where the 2D UI would be misaligned at runtime after setting the rigidbody and then setting the anchor
  18. Fixed the bug where text was sometimes not displayed in the preview view
  19. Fixed the issue of incomplete parameter display when the animation transition condition in the animation state machine was set to Bool type
  20. Fixed the bugs in the backpack list and mail list in the 2D beginner example template Important New Features

Important New Features

  1. Added support for publishing Taobao Widget projects
  2. Added support for publishing Taobao Mini Program projects

Optimizations and Updates

  1. Added engine property fields to the Chinese property tips in the IDE
  2. Added minimum value configuration and support for negative numbers in the IDE curve editor
  3. Added a button for automatic shape adaptation in chain colliders (when there are polylines in the drawn shape, the button can be displayed and the data in the polylines can be directly used)
  4. Added visual angle editing for angle-related properties in 2D physics joints
  5. Split the animation script into 2D animation script and 3D animation script to avoid the issue of the 2D animation state machine completion event only being effective when the D3 library is checked
  6. Removed WebView-related features due to Apple's detection and rejection of apps using WebView. WebView is no longer supported in Native by default Please maintain the original format of the above content during the English translation

LayaAir 3.1.2 Engine Library

29 Mar 12:12
Compare
Choose a tag to compare

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

Version 3.1.2 Release Changelog

Bug Fixes

Engine

  1. Fixed a bug where using XMLHttpRequest to send HTTPS POST requests with field string lengths exceeding 11 characters would cause an error in the iOS native package.
  2. Fixed an issue where using special TTF fonts in the iOS native package would cause crashes.
  3. Fixed a bug where using masks in the Native engine increased performance consumption.
  4. Fixed an issue with video texture playback in the WeChat browser environment.
  5. Fixed a bug where adding rendering units one by one to HBox and VBox resulted in sorting disorder.
  6. Fixed a bug where the "other" parameter in 3D physics onTriggerEnter was not of type PhysicsColliderComponent.
  7. Fixed a bug in the PhyX physics engine where some collision boxes would suddenly disappear when creating a large number of objects.
  8. Fixed a bug where the Trigger property value of the RigidBody3D component was incorrect when adding a 3D prefab to the scene.
  9. Fixed a bug where setting the linear velocity before adding it to the scene would invalidate the linear velocity setting in the bullet physics engine.
  10. Fixed an issue where the 2D physics event onTriggerStay was triggered only once during continuous collision.
  11. Fixed an issue where the globalPosX and globalPosY calculations of Sprite caused a deviation in the bounding box position of 2D physics colliders.
  12. Fixed an issue where the text prompt content was not updated in a timely manner after modifying the type of the TextInput component.
  13. Fixed an issue where ktx files could not be written to the cache on the Douyin platform.
  14. Fixed an incompatibility issue with video textures in Firefox browsers.

IDE

  1. Fixed a bug where animation template curves were not displayed.
  2. Fixed a bug where dragging and assigning multiple materials would overwrite all material settings with the last dragged material.
  3. Fixed a bug where created bitmap fonts were not reloaded when updating for the second time.
  4. Fixed an issue where the project name set in the mini-game publishing settings was not carried over to the configuration file.
  5. Fixed an issue on Windows systems where executing script parameters from the command line would pop up the LayaAirIDE interface.
  6. Fixed a bug where modifying the culling mode of materials created within the IDE had no effect.
  7. Fixed a bug in the IDE's particle editing interface/lifecycle/lifecycle size (Sizeof lifetime) where selecting a curve would make the panel uneditable.
  8. Fixed a bug where the position could not be saved when moving nodes with the keyboard arrow keys during relative layout.
  9. Fixed parameter naming conflicts in Shader blueprints.
  10. Fixed an issue where prefabs loaded old data when modified at runtime and run again.
  11. Fixed an issue where the png source file was incorrectly used for cubic textures when "Allow texture compressed forma" was unchecked.
  12. Fixed display issues with the Scene2D property panel (removed properties that should not be displayed).

Updates and Optimizations

  1. Added configurable options for "Recompile All Scripts" and "Reload All Plugins" in the IDE's "Preferences --> Shortcuts" interface.
  2. Added "Sub-item Alignment" setting for Text/Label Text, used to control the vertical alignment when mixing text and images or text with different font sizes. Default is center-aligned.
  3. Added support for multi-selection when dragging nodes to project assets to create prefabs in the IDE.
  4. Optimized IDE experience to avoid the appearance of intermediate files like xxx_out.pvr after applying textures when creating cubemaps.
  5. Optimized IDE experience to avoid dragging resources into read-only directories.
  6. Optimized IDE experience by removing the zOrder node property from the IDE panel (this property can only be set via code and takes effect at runtime), avoiding misunderstandings where developers think the property setting in the IDE has no effect (it was never supported for WYSIWYG in the IDE, and the visible layer order adjustment needs to be set through the node order in the Hierarchy panel).
  7. Optimized the style of the drag-and-drop prompt box for layout adjustments in the IDE.

LayaAir 3.1.1 引擎库

29 Feb 12:07
Compare
Choose a tag to compare

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

3.1.1 正式版 更新日志

BUG修复

引擎

  1. 修复了启用动画融合后,动画事件回调处理BUG
  2. 修复了Radio在IDE中设置标签居中后,在编辑器中有效,运行中无效的BUG
  3. 修复了Panel组件的scrollTo方法无效的BUG
  4. 修复了3D物理使用physicsCollider组件添加到场景再设置transform的时候位置更新失效的BUG
  5. 修复了3D物理CCD检测的BUG
  6. 修复了微信高性能模式下使用开放域,iOS设备进不去游戏的问题
  7. 修复了2D对象使用材质球,批处理时异常的BUG
  8. 修复了预制体组件引用了预制体本身导致的载入资源时无限等待的问题
  9. 修复了由于不支持深度扩展导致后处理异常问题
  10. 修复了2D物理齿轮关节、距离关节、马达关节、平移关节、旋转关节中的问题

IDE

  1. 修复了脚本组件属性面板复制、粘贴、重置功能无效的问题
  2. 修复了IDE登录界面,邮箱登录标签失效的BUG
  3. 修复了预制体拖入场景后,解除预制体绑定,无法直接移除脚本组件的BUG
  4. 修复了粒子系统生命周期下的速度生命周期修改值无效的BUG
  5. 修复了滑轮关节的锚点位置,当节点锚点是0.5的时候,编辑器内的辅助线效果不对的BUG
  6. 修复了打包使用多级目录分包时vivo、OPPO小游戏平台不支持分包名带"/"的问题
  7. 修复了在使用bullet物理引擎的情况下,角色控制器修改radius与height的时候ide内没有及时更新物理辅助线的问题
  8. 修复了层级列表拖动节点改变位置时,插入位置不准确的BUG
  9. 修复了2D物理中发现的全部问题
  10. 修复了使用vscode调试无法断点的问题
  11. 修复了@Property装饰器无法使用脚本UUID作为属性类型的问题(用于规避属性间的循环引用)

更新与优化

  1. 新增支持发布淘宝小游戏

  2. 命令行功能新增指定执行的脚本参数--script-args,例如--script-args="say'helloworld''',那么脚本的参数就会传递("say","hello world");

  3. 多选对象后,属性面板增加了包围信息的显示和编辑:

  4. 插件系统增加了跨进程执行eval脚本的功能,例如:

    //UI进程
    let str = await Editor.scene.runScript("window.eval", `
        (function() {
            //do something
            return "hello";
        }())
    `);
    
    //场景进程
    let ret = await EditorEnv.runUIScript("window.eval", `
        (function() {
            //do something
            return "hello";
        }())
    `);
  5. 插件系统增加了预览运行进程和UI进程的通讯方式

  6. IDE邮箱注册界面增加邮箱认证码验证功能

  7. 层级面板Ctrl+A功能增加限制,只全选当前选中节点的同级节点,不包含子节点。注意:如果同级节点很多时,请求时间会比较久

  8. 属性面板的数组属性(资源类或者节点对象类),支持从层级面板或者资源面板拖入多个资源批量设置

  9. 3D物理引擎的角色控制器新增支持setLocalOffset接口

  10. 优化了2D物理属性名称、默认值设置、物理辅助线等,使得2D物理更加稳定和易用

LayaAir 3.1.0 引擎库

01 Feb 09:03
891a2dc
Compare
Choose a tag to compare

3.1.0 正式版 更新日志

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

BUG修复

引擎

  1. 修复了mesh克隆的BUG
  2. 修复了圆形碰撞体中心点缩放的问题
  3. 修复了2D动画播放过程中通过脚本切换动画导致动画播放不完整的BUG
  4. 修复了InstanceRenderElement中的recover方法中的BUG
  5. 修复了拖尾组件的GradientColor设置之后,缺少边界数据导致插值出现NaN值的BUG
  6. 修复了js版本的PhysX物理库发布微信小游戏后报错的问题
  7. 修复了Box2D的wasm版本中运动学刚体的物理碰撞触发事件无法触发
  8. 修复了小米手机在微信小游戏上使用三指滑动触发截屏之后点击事件回调的触发点个数错误的BUG

IDE

  1. 修复了蓝图多标签保存的BUG
  2. 修复了IDE多语言切换的BUG
  3. 修复了纹理资源压缩iOS的ASTC6*6格式在面板上显示问题
  4. 修复了使用TTF字体在设置文本内容后获取高度异常的BUG
  5. 修复了构建发布中“分包选项”的“资源文件夹”无法拖入文件夹的BUG
  6. 修复了自定义脚本组件重置功能的BUG

更新与优化

  1. 新增IDE的命令行调用模块,可以在终端中启动编辑器,并在后台执行脚本。

    参数为:

    > LayaAirIDE --project=/path/to/project --script=MyScript.buildWeb

    --project: 项目路径

    --script: 指定执行的脚本

    例如,使用以下脚本,可以使用命令行构建Web平台。脚本执行结束后,后台进程会自动退出。

    @IEditorEnv.regClass()
    class MyScript {
        static async buildWeb() {
            return IEditorEnv.BuildTask.start("web").waitForCompletion();
        }
    }
  2. 新增.obj格式的3D模型资源的导入

  3. 新增插件的国际化支持,通过LayaAirIDE提供的接口,可以实现插件界面国际化以及插件代码里输出的信息国际化。

  4. 新增支持对于2D物理碰撞器形状的单组件开关控制

  5. 新增支持2D物理所有的碰撞形状都可以在物理编辑模式下整体移动

  6. 新增支持圆形碰撞体半径按中心点进行缩放

  7. 新增支持2D物理碰撞器闭合线段的顶点增加功能

  8. 新增支持添加2D物理关节时自动增加刚体组件

  9. 2D物理的多边形和链形碰撞体增加初始化数据

  10. 优化2D物理组件的IDE属性面板的显示以及操作限制

  11. 编译设置新增“保留未被使用的脚本组件”和“字符串编码”选项