cocos3.3 Graphics无法划线(这么明显的bug难道你们都没问题?)

  • Creator 版本:
    3.3

  • 目标平台:
    PC

  • 重现方式:

        let drawer = node1.getComponent(Graphics);
        drawer.strokeColor = math.Color.RED;
        drawer.lineWidth = 10;
        drawer.moveTo(0, 0);
        drawer.lineTo(0, 40);
        drawer.lineTo(40, 40);
        drawer.lineTo(40, 0);
        drawer.stroke();
    
  • 首个报错:

  • 之前哪个版本是正常的:

  • 手机型号:

  • 手机浏览器:

  • 编辑器操作系统:

  • 重现概率:
    100%
    就是啥也没有
    不信的自己试试

测试情况如下,用的官方demo: testcase-3d – graphics-continuous-filling 场景

新建node居然默认不是UI_2D…