LayaAir Versions Save

LayaAir is a fully platform rendering engine with rich 2D/3D rendering capabilities and a mature integrated development platform

v3.1.3

2 weeks ago

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

Version 3.1.2 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

v3.1.2

1 month ago

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

v3.1.1

2 months ago

更多版本日志以及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物理更加稳定和易用

v3.1.0

3 months ago

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. 编译设置新增“保留未被使用的脚本组件”和“字符串编码”选项

v3.0.11

4 months ago

3.0.11 更新日志

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

BUG修复

引擎

  1. 修复了9宫格图片如果有透明区域,剪裁后发布纹理的时候勾选了剪裁图片周边空白,会出现位置不对的BUG
  2. 修复模糊滤镜颜色泛白的BUG
  3. 修复了bullet物理引擎的角色控制器AABB碰撞问题

IDE

  1. 修复了Game视图设置缩放后运行会偏移的BUG
  2. 修复了LOD组件的显示BUG
  3. 修复了新建文件夹没有自动进入重命名的BUG
  4. 修复了粒子系统shape模块中box边框渲染Y轴与Z轴反了的BUG
  5. 修复了发布拷贝bin目录逻辑流程的错误
  6. 修复了动画面板输入文本框滚动时候对不上的BUG
  7. 修复了2D预制体中,节点缩放不是1时对齐工具会不正确的BUG

优化

  1. 动作烘焙时,对于重复节点给出提示
  2. 资源的图片过滤检索数量上限增加至5000个
  3. 2D动画曲线面板支持Elastic算法

v3.0.9

5 months ago

3.0.9 更新日志

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

BUG修复

引擎

  1. 修复了设置Laya.stage.fullScreenEnabled为true后,在回调内作用域错误的BUG
  2. 修复了Texture对象引用减少时内含bitmap引用没有同时减少的BUG
  3. 修复了环境光遮蔽AO与景深DOF后处理只能一个生效的BUG
  4. 修复了2D动画设置参数Bool值类型错误的BUG
  5. 修复了文字在设置发光滤镜的时候颜色错误BUG
  6. 修复打开Camera的enableBlitDepth为true时候内存泄漏的BUG

IDE

  1. 修复了将时间轴动画面板弹出后,复制和粘贴关键帧会报错的BUG
  2. 修复了动画烘焙后动画控制器的指定入口动画被修改了的BUG
  3. 修复了项目设置中设置的“默认字号”,只对Text起作用,对Label、Button等组件中的文本不起作用的BUG
  4. 修复了预制体根节点设置锚点为0.5后的显示问题
  5. 修复了PC端中对于同一张贴图,BC3压缩格式与RGBA32格式的颜色不一致的BUG
  6. 修复了分包设置为assets下第三级目录及更深目录打包出现mkdir失败报错的BUG
  7. 修复了发布时自动图集中如果有相同大小的图片,可能在多次发布时顺序不一致的问题
  8. 修复了Text组件设置padding时异常的BUG
  9. 修复了动画在IDE预览和浏览器上有效果,在发布为微信小游戏后无动画效果的BUG

优化

  1. 3D工具类中RenderTexture转换为Base64的方法uint8ArrayToArrayBuffer移到2D工具类,使得2D也可以使用该方法,3D中的原方法会指向2D工具类保持兼容。
  2. IDE里已新增支持发布微信小游戏引擎插件

v3.0.8

5 months ago

3.0.8 更新日志

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

BUG修复

引擎

  1. 修复了3D粒子在iOS上出现黑边的BUG
  2. 修复了脚本组件的OnMouseDrag方法无法触发,需要手动注册一个鼠标事件才能触发的BUG
  3. 修复了Tab组件的labelAlign属性设置没有效果的BUG

IDE

  1. 修复了导入gltf模型材质显示不正确的BUG
  2. 修复了2D预制体根节点设置锚点为(0.5,0.5)引起的显示问题
  3. 修复了2D节点面板MouseEnabled属性值为false时的不生效问题
  4. 修复了烘焙动画在Mac上报错找不到目录的问题
  5. 修复了发布vivo后关闭,再次发布时出现文件被锁情况导致无法发布,需要手动杀掉进程才行的BUG
  6. 修复了改变嵌套预制体里的预制体节点顺序,刷新后顺序又被重新排列的BUG
  7. 修复了复制嵌套预设中的预设,会解除预设的BUG
  8. 修复了自定义shader声明了纹理参数,在材质面板上赋值纹理之后,再次将纹理设置为null,此时材质面板上修改任意参数的值,纹理内容又重新显示回来了的BUG
  9. 修复了自定义控件作为预制体根节点时,runtime脚本不正确的BUG
  10. 修复了JS插件不勾选“发布时压缩”,但发布时仍然被压缩的BUG
  11. 修复了IDE的2D入门示例模板中panel窗口在手机触摸屏上不能缩放的问题
  12. 修复了某些特别的2D图片在纹理压缩后颜色产生明显差异的问题

易用优化

  1. 支持小游戏模板目录内的任意目录在发布时均会复制到小游戏目录里
  2. 优化了绘制文字的属性名,Graphics绘制文字的单词stork拼写错误,改为正确的拼写stroke
  3. 限制预制体嵌套自身的预制体,避免因此导致死循环
  4. WEB平台发布增加了是否使用安全扩展名的选项

功能新增

  1. 动画脚本支持了onStateLoop的回调,动画设置了循环的话,每次循环结束时会被调用;

    2D动画支持了gotoAndStop以及gotoAndStopByFrame的逻辑,使用示例:

    const { regClass } = Laya;
    
    interface AnimatorPlayScriptInfo {
        animator: Laya.Animator | Laya.Animator2D;
        layerindex: number;
        playState: Laya.AnimatorState | Laya.AnimatorState2D;
    }
    
    /**
     * 继承自AnimatorStateScript(动画状态脚本)
     */
    @regClass()
    export class AnimationScript1 extends Laya.AnimatorStateScript {
        /**动画的状态信息 */
        playStateInfo: AnimatorPlayScriptInfo = { animator: null, layerindex: -1, playState: null };
    
        setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) {
            this.playStateInfo.animator = animator;
            this.playStateInfo.layerindex = layerindex;
            this.playStateInfo.playState = playstate;
        }
    
        /**
         * 动画状态开始时执行。
         */
        onStateEnter(): void {
            console.log("动画开始播放了");
        }
    
        /**
         * 动画状态运行中
         * @param normalizeTime 0-1动画播放状态
         */
        onStateUpdate(normalizeTime: number): void {
            console.log("动画状态更新了");
        }
    
        /**
        * 动画状态退出时执行。
        */
        onStateExit(): void {
            console.log("动画退出了");
        }
    
        /**
         * 动画设置了循环的话,每次循环结束时执行
         */
        onStateLoop(): void {
            (this.playStateInfo.animator as Laya.Animator2D).gotoAndStop(this.playStateInfo.playState.name, this.playStateInfo.layerindex, 1);
        }
    }
    
    

v3.0.7

6 months ago

3.0.7 更新日志

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

BUG修复

引擎

  1. 修复了给文本加上阴影滤镜后,边缘锯齿变的更明显的BUG
  2. 修复了资源_idResourcesMap的key对不上而导致销毁错误的BUG
  3. 修复了websocket连接的wss URL字符串拼接BUG
  4. 修复了单选框组件的labelAlign属性right和center设置无效的BUG
  5. 修复了3D UI缩放默认值错误的问题
  6. 修复了 WebXR 初始化gl错误的BUG

IDE

  1. 修复了粒子序列帧修改TextureSheet的frame面板默认Y值无效,需要手动拖动一次曲线才正常的BUG
  2. 修复了预制体在场景内编辑后再次添加保存失败的BUG
  3. 修复了在场景/预制体的tab栏上,按下鼠标滚轮会出现报错的BUG
  4. 修复了Shader名称包含路径时,显示不正确的BUG
  5. 修复了删除场景中的节点后,装饰器暴露的入口处节点仍然存在的BUG
  6. 修复了装饰器@classInfo中使用现有分类,会直接把分类中原来的分类替换掉的BUG
  7. 修复了自定义的RadioGroup单选框组,skin属性为空时控制台报错的问题
  8. 修复了IDE自带的RPG示例中,如果开启视网膜,手机上摇杆无法控制的BUG
  9. 修正了键盘移动选中物体时,无法撤销(undo)操作的BUG

易用优化

  1. 3D物理中增加碰撞分组的属性暴露,可直接在IDE中设置碰撞分组了
  2. 2D物理增加关节锚点与关节连线的显示,可以更加直观的设置了
  3. 对于不支持生成UV1的骨骼模型,在控制台给出提示,并阻断生成UV1,避免强行生成UV1导致模型出错
  4. 完善了下拉选项框组件的全部中英属性翻译与说明提示
  5. 禁止删除动画状态机最后一个Layer,避免删除后引起报错,以及增加容错机制
  6. 2D物理的圆形碰撞体,优化为以圆心点为半径变化的缩放中心点
  7. 手机和邮箱登录方式登录,在注销或退出登录后,登录界面会保留登录的帐号
  8. 对于非精灵纹理,平铺模式设置非拉伸模式的时候,纹理非2的幂时强制为2的幂,避免设置纹理平铺模式无效的操作误解
  9. 当为纹理统一设置了按钮状态之后,UI组件的按钮状态设置隐藏,避免了设置无效的误解

功能新增

  1. IDE新增spine 3.7版本的spine库适配

    切换适配库后不要忘记刷新IDE

    Spine3.7不支持导出二进制,需要导出为json格式

  2. IDE精灵节点的绘制图形功能中新增绘制文本(用于动态文本)

v3.0.6

7 months ago

3.0.6 更新纪录

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

BUG修复

引擎

  1. 修复了重新设置天空盒后会导致模型显示异常的BUG
  2. 修复了3D动画融合的时候某些动画数据会空指针异常的BUG
  3. 修复了spine3.8引擎库切换动画的时候有些骨骼图片会丢失显示的BUG
  4. 修复了文本在小游戏平台WebGL1.0与WebGL2.0下颜色不一致的BUG
  5. 修复了场景中存在3D UI时无法检测到其他Sprite3D的BUG
  6. 修复了Graphics绘制圆的边框有裂缝的BUG
  7. 修复了圆画得比较小的时候会出现棱边现象的BUG
  8. 修复了销毁camera时在某些情况下会出现报空指针异常的BUG
  9. 修复了Graphics绘制圆的边框有裂缝的BUG
  10. 修复了圆画得比较小的时候会出现棱边现象的BUG
  11. 修复了销毁camera时在某些情况下会出现报空指针异常的BUG

IDE

  1. 修复了多重嵌套预制体在解除第一层时内层预制体的覆盖会错误地被复原的BUG
  2. 修复了Panel组件下复制box组件会引起报错的BUG
  3. 修复了在某些情况下IDE不会自动编译的BUG
  4. 修复了组件的宽度拖拽为0时可能会改变坐标的BUG
  5. 修复了批量拖拽显示对象到子层级或父层级的时候会改变顺序的BUG
  6. 修复了蓝图Vector2\3\4节点分量选取时出错的BUG
  7. 修复了自定义快捷键中的2D场景滚轮切换失效的BUG
  8. 修复了Tab组件首次使用时在垂直模式下更换skin报错的BUG
  9. 修复了删除节点后再恢复引起的节点排序BUG
  10. 修复了蓝图窗口关闭时报异常的BUG
  11. 修复了动画空事件Params为空引发undefined的BUG
  12. 修复了天空盒切换默认天空盒材质到非天空盒材质再切换为天空盒材质,物体深度写入设置失败的BUG

易用优化

  1. 增加刷新IDE的自定义快捷键
  2. 在微信与抖音小游戏的发布界面上增加AppID的输入栏目,方便用户直接在发布的时候填写小游戏AppID
  3. 修改IDE中的部分功能界面文本描述与Tip提示描述,使得描述更加准确
  4. 增加小键盘的Enter键事件响应
  5. 优化了脚本中物理事件的编码提示文本,方便开发者更好的区分2D与3D物理事件的使用
  6. 已同步更新至Spine官方4.0的最新适配库

功能新增

  1. 开放支付宝小游戏的发布入口
  2. 增加导入模型中的UV1
  3. 新增spine 4.1的适配支持
  4. 绘制图形中增加绘制圆角矩形
  5. 绘制图形中增加绘制椭圆形

v3.0.4

8 months ago

3.0.4 更新纪录

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

BUG修复

引擎

  1. 修复了WebGL1.0下颜色异常的BUG
  2. 修复了统计信息在小游戏平台上的显示异常BUG
  3. 修复了AutoBitmap没有完成销毁的BUG
  4. 修复了预制体脚本挂载RunInEditor,在预制体资源选中时会触发的BUG
  5. 修复了文本勾选HTML后对</br>会多换一行的BUG
  6. 修复了UI组件TextInput设置纵向valign无法保存的BUG
  7. 修复了引擎烘培贴图采样颜色BUG
  8. 修复了引擎统计面板数据增加的BUG
  9. 修复了UI3D在缩放情况下裁剪错误的BUG
  10. 修复UIComponent的disabled和gray同步导致ide无法分开更新属性的BUG

IDE

  1. 修复了切换预制体编辑界面后新建时间轴动画报错找不到node的BUG
  2. 修复了动画烘焙功能面板拖入一个带动画节点的sprite3D然后点击烘焙会报错的BUG
  3. 修复了烘培器输出HDR贴图的BUG
  4. 修复了烘培透明贴图在非透明模式下导致渲染结果不正常的BUG
  5. 修复了SpotLight光源采用Mixed模式时的烘焙BUG
  6. 修复了材质球为透明模式烘培结果不正确的BUG
  7. 修复了LOD模块出现大量nowRate只读警告的BUG
  8. 修复了属性面板重置预制体内部节点属性时没有显示覆盖标志的问题
  9. 修复了动画属性在还原的时候,子节点的属性未还原的BUG
  10. 修复了spine的ExternalSkins在没有设置Spine Source的时候会导致添加Items卡死的BUG
  11. 修复了使用自定义的spine引擎库就一直进不了编辑器的BUG
  12. 修复了灯光和摄像机对象,按F没聚焦,越来越远的BUG
  13. 修复了模型导入设置里,材质位置设置为使用外部材质后,再改回为使用嵌入材质,材质未回到模型的BUG
  14. 修复了模型勾选网格压缩与动画压缩,在动画曲线角度微小的时候,没有进行动画压缩的BUG
  15. 修复了更改节点类型后,添加的脚本组件丢失,并且不能再添加的BUG
  16. 修复了时间轴动画在动画播放预览IDE材质面板参数没有实时刷新的BUG
  17. 修复了Windows下同名文件冲突后无法再次进行重命名,必须刷新IDE的BUG
  18. 修复了项目设置里,分辨率倍数无法设置小数的BUG
  19. 修复了Unlit材质AlphaTest显示的错误

易用优化

引擎

  1. 对于Value2D中的textureHost增加保护,防止异常
  2. 新增支持tiff、tif、tga这几种纹理图片后缀格式的识别

IDE

  1. Slider组件增加了一个showPrgress选项,用于支持进度条滑动时的显示

  2. 修改vConsole的嵌入方式为本地js文件

  3. 小游戏发布新增支持远程分包(CND资源包)的能力

  4. 新增了烘培功能可设置灯光不产生阴影

  5. 优化合图集的逻辑,避免相同大小文件在多次发布时位置不稳定

  6. 大幅度降低发布后描述文件fileconfig.json的大小

  7. 新增支持tiff、tif、tga这几种纹理图片后缀格式的识别

  8. 新增模型与网格文件的全部中文属性名称以及属性详细说明Tips

  9. 优化了烘焙相关的按钮文本说明增加了Tips提示

  10. 优化了小游戏中对basePath路径没有/的识别

  11. 增加了类型属性对嵌套数组或者字典的支持

    //示例:
    
    @property([ [  "string" ] ]  )
    test1 : string[][] = [ [ "a", "b", "c"],  ["e", "f", "g"] ];
    
    @property([ [ "Record", "string"] ])
    test2 : Array<Record<string, string>> = [ { name: "A", value: "a" }, { name: "B", value: "b" }];
    
    @property({ type: ["Record", [Number]], elementProps: { elementProps: { range: [0, 10] } } })
    test3: Record<string, number[]> = { "a": [1, 2, 3], "b": [4, 5, 6] };
    
    @property([ "Record", [ Laya.Prefab ] ] )
    test4 : Record<string, Laya.Prefab[]>;
    

Unity资源导出插件

下载链接:https://github.com/layabox/LayaAir3.0UnityPlugin/releases

BUG修复:

  1. 修复了perfab引用查询的BUG
  2. 修复了压缩纹理的报错
  3. 修复了灯光导出的BUG