I am currently having trouble trying to load all my “block” references to instantiate from a “Blocks” folder inside the “Assets/Resources” folder. I can put them into an array, but instantiating from that array won’t work (not an instance error) and I feel this is due to how I am using LoadAll method. I have been wandering around the internet for answers, but every answer is different or brings an error. The only working piece I have even gotten is just :
blocks = Resources.LoadAll("Blocks") as GameObject[];
(blocks being predefined , and having this in Start() )