The problem I have with Resources.Load to load textures and sounds etc. is that it just takes a string path which will never get evaluated during compile time. This is, at least in my case, very error prone since if you just type in a wrong case or mix up two letters the file won't load any more during runtime. It would be great if there would be a way to let the script evaluate if there is such a file to give some warning.
Make Resources.Load check if File exists @ compile level
Your opinion counts
Help us make things better. Share your great idea for improving Unity or vote for other people’s.Log in to post a new idea
- Exportar audio de unity
- Better error messages for "Invalid AABB"
- [SUGGESTION] Feedback Format for Unity Forums : Unity
- [SUGGESTION] New Category "AR/VR" : Unity
- [BUG] AR Camera Identifies Blank Darkness and Plays Video : Unity