カメラを一つにしようと
refCanvas.worldCamera = foo.refCamera;
Destroy(refCamera.gameObject);

エディタからプレイしたらunityエディタが落ちた
何も警告とか出ず消えた