Search Issue Tracker
Duplicate
Votes
0
Found in
4.3.0f4
Issue ID
577717
Regression
No
Resources.load does not load an animation if it has the same name as a texture
To reproduce:
1. Open attached project
2. Open scene "default". It contains a script which does resources.load for three different files with the same name "a" and outputs what's been loaded into the console
3. Enter play mode and you'll notice that a texture2d has been loaded twice. Upon inspecting the script you'll see that an animation should have been loaded instead
It does not matter in what order the resources are loaded - as long as they have the same name, the animation becomes a texture2d.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- RenderParam.renderPriority is ignored when rendering Mesh with Graphics.RenderMesh()
- Multipage Sprite Atlas renders incorrectly when Secondary Textures are used
- Changes to the Terrain Prefab are reflected on the unrelated Terrain GameObject in a Scene when sculpting it using Brushes
- Data is not serialized correctly on time when OnValidate is used to retrieve the data
- The mouse cursor is positioned in the center when Cursor.LockState is set to CursorLockMode.Confined and changing the mouse position
Add comment