現在のUnityの環境では、以下のように参照型の戻り値を持つメソッドが null を返せます。 // (Itemは何か適当なクラス) public Item FindItem(string itemId) { // nullを返せる return null; } Unityを使っている人からしたらそりゃそうだろという感じかもしれません。が、実 ...
An editor tool that scans your Unity project for stale serialized references — asset dependencies that are technically serialized but no longer intentional. These silent references inflate your asset ...
とかいうエラーがたまに出てきてしまいます。 2022辺りのバージョンで起こるUnity側のバグのようですね。 再現性もなく、突発的に出てくるエラーですがUnityを閉じれば直りました。 解決法はエディターのバージョンアップですかね。 遭遇した場合は保存し ...
NullReferenceException: Object reference not set to an instance of an object Spine.Unity.MeshGenerator.GenerateSingleSubmeshInstruction (Spine.Unity ...