null– tag –
-
C#
【Unity】PrefabをGameObject.Instantiate(Resources.Load())で読み込もうとして、ArgumentException: The thing you want to instantiate is null.
今日のエラー prefabをロードしようとすると、返り値がNullになった。 さらにNullから参照しようとしたため、Object reference not set to an instance of an object エラーとなった。 コード GameObject go = Instantiate(Resources.Load ("hoge")as Game... -
Unity
【Unity】テキストファイルを読み込もうとすると、ArgumentException: The thing you want to instantiate is null.
今日のエラー テキストをロードしようとすると、返り値がNullになった。 さらにNullから参照しようとしたため、Object reference not set to an instance of an object エラーとなった。 コード public static string FilePath = "Text/text"; public stat...
1
