Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a naive fix for a bug i faced just now. When you load a prefab resource from a directory where you have a script with the same name, the wrong file is loaded and the late cast breaks with an invalid cast exception. for the illustration, here is my directory listing: Parasites.cs <- this one is loaded instead of the prefab... Parasites.prefab
- Loading branch information