fix bug: scene builder build twice when compositeFrame
public void compositeFrame() {
var builder = new SceneBuilder();
this.layer.buildScene(builder);
using (var scene = builder.build()) {
using (var scene = this.layer.buildScene(builder)) {
Window.instance.render(scene);
}
public static class AllocDebugger {
public const bool enableDebugging = true;
public const bool enableDebugging = false;
static int allocCount = 0;
using System.Collections.Generic;
using UnityEngine;
namespace Unity.UIWidgets.ui {