`Resources.Load` is used only at runtime to load a pre-created asset. It's not possible to read a changing file using this API call. Line 20 is presumably failing because you don't check that the Resources.Load() function has actually worked.
↧