Skip to content

LayaAir 3.1.2 Engine Library

Compare
Choose a tag to compare
@LayaCharley LayaCharley released this 29 Mar 12:12
· 175 commits to LayaAir_3.1 since this release

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