Skip to content

editor 报错 #149

@liuping1997

Description

@liuping1997

复现步骤:
1.运行 .\bin\msvc\release\ant.exe tools/editor/main.lua
2.编辑器运行后,鼠标右键控制camera转圈晃动

full.log

出错log:


[2024-05-14 15:41:43.38][INFO ]( ant.window|window )(D:/workspace/ant/pkg/ant.render/viewport/state.lua:50) scene scale ratio:  1.0
[2024-05-14 15:41:43.38][INFO ]( ant.window|window )(D:/workspace/ant/pkg/ant.render/viewport/state.lua:52) scene width/hegiht: 1.61
[2024-05-14 15:41:43.38][INFO ]( ant.window|window )(D:/workspace/ant/pkg/ant.render/viewport/state.lua:53) device width/hegiht:        1.61
[2024-05-14 15:41:58.55][INFO ]( ant.window|window )(...space/ant/pkg/ant.objcontroller/pickup/pickup_system.lua:297) not found any eid
[2024-05-14 15:42:17.78][ERROR]( ant.window|window ) Invalid near and far after cliped, zn must >= 0 and zf > zn, where zn: 9223372036854775808.000000, zf: -9223372036854775808.000000  
stack traceback:
        ( service:6 )
        D:/workspace/ant/pkg/ant.render/shadow/shadow_system.lua:353: in local 'func'
        D:/workspace/ant/pkg/ant.world/main.lua:378: in upvalue 'update_func'
        D:/workspace/ant/pkg/ant.world/main.lua:403: in field '_pipeline_update'
        D:/workspace/ant/pkg/ant.world/main.lua:587: in method 'pipeline_update'
        D:/workspace/ant/pkg/ant.window/service/window.lua:76: in upvalue 'f'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions